This property is True if the specified label control inherits the color from its parent control.
object.ParentColor
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISLabel interface |
bool
Display ParentColor for the specified label control.
Dim aLabel
Dim aLabelInfo
Set aLabel = Form.Controls_("Label1")
aLabelInfo =_
"Caption: " & aLabel.Caption & vbNewLine &_
"TypeName: " & aLabel.TypeName & vbNewLine &_
"Parent Color: " & aLabel.ParentColor
Profile.MsgBox(aLabelInfo)
In Profile Client v8 on User Interface Parent Color can be found in
.