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