Vcl.ComCtrls.TCustomStatusBar.OnHint
Delphi
property OnHint: TNotifyEvent read FOnHint write FOnHint;
C++
__property System::Classes::TNotifyEvent OnHint = {read=FOnHint, write=FOnHint};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
event | public | Vcl.ComCtrls.pas Vcl.ComCtrls.hpp |
Vcl.ComCtrls | TCustomStatusBar |
Description
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.