ShowHint Property

Applies to TestComplete 14.70, last modified on April 22, 2021

Specifies whether to display the hint for the component.

Declaration

componentObj.ShowHint
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 ShowHint property specifies whether to display the component’s hint (the text message which appears when the cursor stays over the component). To specify the hint text, use the Hint property.

Property Value

True, if the component displays the hint; 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 ShowHint value, ParentShowHint is automatically set to False, and vice versa.

See Also

Hint Property
ParentShowHint Property

Highlight search results