The property returns the parent control of the embedded form, otherwise it returns nothing.
object.Parent
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfileForm interface |
Display some information about the parent control of the embedded form.
sub main()
Dim aParentControl
Dim aControlInfo
Set aParentControl = Form.Parent
if not aParentControl is nothing then
aControlInfo =_
"PARENT CONTROL: " & vbNewLine &_
"Short Name: " & aParentControl.ShortName & vbNewLine &_
"Type Name: " & aParentControl.TypeName
else
aControlInfo = "No Parent Control"
end if
Profile.MsgBox(aControlInfo)
end sub
In Profile Client v8 on User Interface Parent cannot be found.