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