Applies to TestComplete 14.40, last modified on April 01, 2020

Specifies whether the component uses the ShowHint property of its parent.

Declaration

componentObj.ParentShowHint
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:

TBevel, TcxButton, TcxButtonEdit, TcxCalcEdit, TcxCheckBox, TcxComboBox, TcxCurrencyEdit, TcxDateEdit, TcxGroupBox, TcxLabel, TcxListBox, TcxMemo, TcxMRUEdit, TcxProgressBar, TcxRadioGroup, TcxSpinEdit, TcxTextEdit, TcxTimeEdit, TImage, TObjectPicker, TPanel, TRectObjectPicker, TShape

Description

The ParentShowhint property specifies whether the component uses the ShowHint of its parent component. If ParentShowHint is False, the component uses its own ShowHint property value.

To ensure that all components on the form display uniformly or do not display hints, set ParentFont for all components to True or False respectively.

Property Value

True, if the component uses the parent’s ShowHint property value; False otherwise.

Remarks

The component’s hint is displayed in the following cases:

  • The component’s ShowHint property is True.
  • The component’s ParentShowHint is True and the hint for the parent component is also enabled.

When you change the ParentShowHint value, ShowHint is automatically set to False, and vice versa.

See Also

Hint Property
ShowHint Property
ParentBackground Property
ParentColor Property
ParentFont Property

Highlight search results