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