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