Show: Delphi C++
Display Preferences

Vcl.Controls.TControl.ShowHint

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ShowHint: Boolean read FShowHint write SetShowHint stored IsShowHintStored;

C++

__property bool ShowHint = {read=FShowHint, write=SetShowHint, stored=IsShowHintStored, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

ShowHint specifies whether to show the Help Hint when the mouse pointer moves over the control.

ShowHint determines whether the Help Hint appears for the control. The Help Hint is the value of the TControl.Hint property. The Help Hint appears in a box just beneath the control when the mouse pointer moves over the control.

To enable Help Hints for a particular control, two conditions must be satisfied:

  • The application's ShowHint property must be True.
  • Either the control's own ShowHint property must be True, or the control's ParentShowHint property must be True and its parent's ShowHint property must be True.

For example, imagine a check box within a group box. If the ShowHint property of the group box is True and the ParentShowHint property of the check box is True, but the ShowHint property of the check box is False, the check box still displays its Help Hint.

Changing the ShowHint value automatically sets the ParentShowHint property to False.

See Also

Code Examples

Personal tools
In Other Languages
Previous Versions
Assistance