IControl.HintTimeout

Syntax

HintTimeout: Integer;

Description

The HintTimeout property determines for how long a tooltip is displayed.

Comments

The property value is set in milliseconds. The property influences the following tooltips:

Example

Executing the example requires a form, the Button1 button on it and the TreeList component named TreeList1.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
    TreeList1.HintTimeout := 700;
    TreeList1.ShowHints := True;
End Sub Button1OnClick;

On pressing the button the tooltips for elements are enabled in the TreeList1 component. Tooltip display time is 700 milliseconds.

See also:

IControl