[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Forms' (#lcl)

# TApplication.OnShowHint

Event handler signalled prior to displaying a hint window.

## Declaration

Source position: forms.pp line 1764

`public property TApplication.OnShowHint : TShowHintEvent read FOnShowHint write FOnShowHint;`

## Description

OnShowHint is a TShowHintEvent property with the event handler signalled prior to displaying a hint window for the application.

It is signalled (when assigned) from the ShowHintWindow method when ShowHint has been enabled in the application. It occurs after HintControl has been assigned to the hint window, and the position for the hint window relative to HintControl has been calculated. It occurs before other application handlers using the ahtShowHint type are notified, and the hint window is made visible and activated.

## See also

TApplication.ShowHintWindow |  | Shows or hides the hint window for a control in the application.
TApplication.AddOnShowHintHandler |  | Adds an application Hint show handler to the list for the handler type.
TApplication.RemoveOnShowHintHandler |  | Removes an application Hint show handler from the list for the handler type.
THintWindow.HintControl |  | Windowed control which is the parent for the hint window.
THintWindow.HintData |  | Pointer to data used to formulate text displayed in the hint window.
THintWindow.HintRect |  | Contains the bounds used to display the text for the hint.
TShowHintEvent |  | Defines an event handler signalled to perform hint display.
TApplicationHandlerType |  | Types of Application notification handlers.