IListView.ShowHints

Syntax

ShowHints: Boolean;

Description

The ShowHints property determines whether a tooltip is displayed if the mouse cursor is kept over the element.

Comments

If the property is set to True, a tooltip is displayed when the mouse cursor is kept over the element. The text of tooltip for the element is set in the Hint property. If the Hint property is not determined, the text of tooltip corresponds to the text of the element.

If the ListViewStyle.Report style is set for the component, the tooltip text corresponds to the text in the area of that column where the mouse cursor is. The tooltip is displayed if the text of the element does not fit into the column area. The tooltip set in the Hint property is displayed when the mouse cursor is kept in the area of the first column of the component.

NOTE. When the style of the component is ListViewStyle.Report, the tooltip set in the Hint property is displayed in the area of the first column regardless of the element text length.

See also:

IListView