ISLabel.LinkCode

Description

This property returns the caption of the specified label control.

Syntax

object.LinkCode

Part Attribute Type Description
object Required
The object always implements the ISLabel interface

Return Value

string

Example

Display some information about the specified label control, including its caption.

Dim aLabel
Dim aLabelInfo

Set aLabel = Form.Controls_("Label1")
aLabelInfo =_
  "Short Name: " & aLabel.ShortName & vbNewLine &_
  "TypeName: " & aLabel.TypeName & vbNewLine &_   
  "Link Code: " & aLabel.LinkCode
 
Profile.MsgBox(aLabelInfo) 
Note: This macro should be executed in any event handler of the form control.

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

Version information

Added in v7.8.0