[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'ComCtrls' (#lcl)

TCustomTreeView.ToolTips

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

Declaration

Source position: comctrls.pp line 3683

protected property TCustomTreeView.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

TCustomTreeView.Options

  

The set of options enabled in the tree view control.

TCustomTreeView.DoMouseWheel

  

Handles mouse wheel messages for the tree view control.

TCustomTreeView.DoMouseWheelHorz

  

Performs actions to handle a horizontal mouse wheel message.

TCustomTreeView.MouseMove

  

Handles mouse move messages for the control.

TTreeNode.Text

  

Text displayed for the tree node.

TTreeViewOptions

  

Set type used to store values from the TTreeViewOption enumeration.

TTreeViewOption

  

TTreeViewOption - enumerated type containing the permissible values for Options in TreeViews.

TControl.Hint

  

The text to show in the Hint window for the control.

TControl.ShowHint

  

Enables Hint display for the control.


Version 3.2 Generated 2024-02-25 Home