Vcl.ComCtrls.TStatusBar.OnHint

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property OnHint: TNotifyEvent read FOnHint write FOnHint;

C++

__property OnHint;

Properties

Type Visibility Source Unit Parent
event published
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TStatusBar

Description

Occurs when the AutoHint property is True and the status bar receives a hint action.

Vcl.ComCtrls.TStatusBar.OnHint inherits from Vcl.ComCtrls.TCustomStatusBar.OnHint. All content below this line refers to Vcl.ComCtrls.TCustomStatusBar.OnHint.

Occurs when the AutoHint property is True and the status bar receives a hint action.

Write an OnHint event handler to customize the way the status bar displays hints when the AutoHint property is True. When AutoHint is True and the status bar needs to display a hint, it generates an OnHint event. If the status bar has an OnHint event handler, then the status bar assumes that the event handler displays the hint and does not set the panel text to the value of the application's current hint. If there is no OnHint event handler (and AutoHint is True), the status bar displays the text of the hint in the first panel.

OnHint does not occur if the AutoHint property is False.