HintTimeout: Integer;
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.
Executing the example requires a .NET form, the Button1 button on this form and the TreeListNet component named TreeListNet1.
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Begin
TreeListNet1.HintTimeout := 700;
TreeListNet1.ShowHints := True;
End Sub;
On pressing the button the tooltips for elements are enabled in the TreeListNet1 component. Tooltip display time is 700 milliseconds.
See also: