HintTimeout: Integer;
The HintTimeout property determines for how long a tooltip is displayed.
The property value is set in milliseconds. The property influences the following tooltips:
Tooltips for components.
Tooltips for the elements of such components as: ListView, TreeList, DimensionTree and similar components.
Tooltips for the controls of the Ribbon and ToolBar components.
Tooltips for table cells of the ReportBox and TabSheetBox components.
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: