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