ISComboBox.ShortName

Description

The short name of the specified combo box.

Syntax

object.ShortName

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

Return Value

string

Example

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

Dim aComboBox
Dim aControlInfo

Set aComboBox = Form.Controls_("cmbInform")

aControlInfo =_
  "Caption: " & aComboBox.Caption & vbNewLine &_ 
  "Width: " & aComboBox.Width & vbNewLine &_
  "Height: " & aComboBox.Height & vbNewLine &_
  "Hint: " & aComboBox.Hint & vbNewLine &_
  "Left: " & aComboBox.Left & vbNewLine &_
  "Top: " & aComboBox.Top & vbNewLine &_
  "Tag: " & aComboBox.Tag & vbNewLine &_
  "ShortName: " & aComboBox.ShortName & vbNewLine &_
  "TypeName: " & aComboBox.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 combo box in the controls tree > Name.

Version information

Added in v7.8.0