Sign in Join
FPDoc Onlineexperiment

TStatusBar.OnHint property

Member of TStatusBarpublishedIn unit ComCtrls

Event handler used to get the text for a hint displayed on the status bar control.

Declaration

pascal
property OnHint: TNotifyEvent read FOnHint write FOnHint;

Description

OnHint is a TNotifyEvent property with the event handler signalled to get hint text displayed on the status bar control. It is called from the DoSetApplicationHint method (when assigned), and occurs when AutoHint is enabled and a custom hint action is passed to the ExecuteAction method. The handler can determine the content for the hint and the location where it is displayed. If the handler returns False, the value passed from the application is assigned to SimpleText (when SimplePanel is enabled), or used as the text for the first defined panel in Panels (when SimplePanel is disabled).

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.