ISRadioButton.ShortName

Description

The short name of the specified radio button.

Syntax

object.ShortName

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

Return Value

string

Example

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

Dim aRadioButton
Dim aControlInfo

Set aRadioButton = Form.Controls_("rbCaseOne")

aControlInfo =_
  "Caption: " & aRadioButton.Caption & vbNewLine &_ 
  "Hint: " & aRadioButton.Hint & vbNewLine &_
  "Left: " & aRadioButton.Left & vbNewLine &_
  "Top: " & aRadioButton.Top & vbNewLine &_
  "Tag: " & aRadioButton.Tag & vbNewLine &_
  "ShortName: " & aRadioButton.ShortName & vbNewLine &_
  "Enabled: " & aRadioButton.Enabled & vbNewLine &_
  "TypeName: " & aRadioButton.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 radio button in the controls tree > Name.

Version information

Added in v7.8.0