This property contains the code of the selected entity for the link edit control or the text for controls of other types.
object.LinkCode
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISControl interface |
string
Display some information about the specified control, including its link code.
Dim aControl
Dim aControlInfo
Set aControl = Form.Controls_("edtProvider")
aControlInfo =_
"Caption: " & aControl.Caption & vbNewLine &_
"TypeName: " & aControl.TypeName & vbNewLine &_
"ShortName: " & aControl.ShortName & vbNewLine &_
"Link Code: " & aControl.LinkCode
Profile.MsgBox(aControlInfo)