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