The parent control of the specified label control.
object.Parent
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISLabel interface |
Display the short name and type name of the parent control associated with the specified label control.
sub main()
Dim aLabel
Dim aParentControl
Dim aLabellInfo
Set aLabel = Form.Controls_("Label1")
set aParentControl = aLabel.Parent
aLabellInfo =_
"PARENT CONTROL: " & vbNewLine &_
"Short Name: " & aParentControl.ShortName & vbNewLine &_
"Type Name: " & aParentControl.TypeName
Profile.MsgBox(aLabellInfo)
end sub
In Profile Client v8 on User Interface Parent can be found in
.