API:Vcl.ActnMenus.TActionMainMenuBar.ShowHint

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ShowHint: Boolean read FShowHint write SetShowHint stored IsShowHintStored;

C++

__property ShowHint;

Properties

Type Visibility Source Unit Parent
property published
Vcl.ActnMenus.pas
Vcl.ActnMenus.hpp
Vcl.ActnMenus TActionMainMenuBar

Description

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

Vcl.ActnMenus.TActionMainMenuBar.ShowHint inherits from Vcl.Controls.TControl.ShowHint. All content below this line refers to Vcl.Controls.TControl.ShowHint.

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