Sign in Join
FPDoc Onlineexperiment

TCustomTreeView.ToolTips property

Member of TCustomTreeViewprotectedIn unit ComCtrls

Indicates whether tool tips (hints) are enabled for nodes on the tree view control.

Declaration

pascal
property ToolTips: Boolean read GetToolTips write SetToolTips default True;

Description

ToolTips is a Boolean property which indicates whether tool tips (pop-up hints) are enabled for nodes on the tree view control. A tool tip is activated when the mouse pointer is hovered over a node. The text displayed on the tool tip is set to the Text property in the TTreeNode instance. The tool tip is displayed only when the text for the node is longer than the available display area on the control.

ToolTips is a convenience property; it indicates whether tvoToolTips has been included in the Options for the control. The default value for the property is True. Changing the property value causes Options to be updated to include or exclude tvoToolTips in the set type.

ToolTips is used (indirectly) in methods which respond to mouse or mouse wheel events like: DoMouseWheel, DoMouseWheelHorz, and MouseMove.

ToolTips is temporarily disabled when a drag operation is started for a node on the tree view control.

Use Hint and ShowHint to enable or disable a pop-up hint window on the control. Both Hints and ToolTips can be active at the same time - but the effect may be a little overwhelming.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.