ISButton.ShortName

Description

The short name of the specified button.

Syntax

object.ShortName

Part Attribute Type Description
object Required
The object always implements the ISButton interface
Restriction: This property is readonly.

Return Value

string

Example

Display some information about the specified button, including its short name.

Dim aButton
Dim aControlInfo

Set aButton = Form.Controls_("btnDemo")

aControlInfo =_
  "Caption: " & aButton.Caption & vbNewLine &_ 
  "Width: " & aButton.Width & vbNewLine &_
  "Height: " & aButton.Height & vbNewLine &_
  "Hint: " & aButton.Hint & vbNewLine &_
  "Left: " & aButton.Left & vbNewLine &_
  "Top: " & aButton.Top & vbNewLine &_
  "Tag: " & aButton.Tag & vbNewLine &_
  "ShortName: " & aButton.ShortName & vbNewLine &_
  "Enabled: " & aButton.Enabled & vbNewLine &_
  "TypeName: " & aButton.TypeName                
  
Profile.MsgBox(aControlInfo)  
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Short Name can be found in Maintain > Templates > Health Record Collection Templates > Open the selected form template > Open form editor > Object Inspector > Select the button in the controls tree > Name.

Version information

Added in v7.8.0