ParentFont Property

Applies to TestComplete 14.0, last modified on January 23, 2019

Specifies whether the component uses the same font as its parent.

Declaration

componentObj.ParentFont
Read-Write Property Boolean
componentObj     One of the user forms components listed in the Applies To section  

Applies To

The property applies to the following components:

TcxButton, TcxButtonEdit, TcxCalcEdit, TcxCheckBox, TcxComboBox, TcxCurrencyEdit, TcxDateEdit, TcxGroupBox, TcxLabel, TcxListBox, TcxMemo, TcxMRUEdit, TcxProgressBar, TcxRadioGroup, TcxSpinEdit, TcxTextEdit, TcxTimeEdit, TPanel

Description

The ParentFont property specifies whether the component should display text using the same font as its parent. If ParentFont is False, the component uses the font specified by its Font or StyleNNN.Font property.

To ensure that all the components located on the form have the same appearance, set ParentFont to True for all the components.

Property Value

True if the component uses the same font as its parent, and False otherwise.

See Also

Font Property
ParentBackground Property
ParentColor Property
ParentShowHint Property

Highlight search results