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

TCustomTreeView.MouseLeave

Performs actions needed when the mouse pointer leaves the control.

Declaration

Source position: comctrls.pp line 3604

protected procedure TCustomTreeView.MouseLeave; override;

Description

MouseLeave is an overridden method in TCustomTreeView.

It ensures that States is updated to remove click or editing flags included in the flag values. If a hint window is visible for the control, it is hidden. If HotTrack has been enabled and included in the Options for the control, the internal member used to track the hovered tree node is reset. Cursor is restored to the default cursor shape and the control is redrawn.

MouseLeave calls the inherited method prior to exit to signal the OnMouseLeave event handler (when assigned).

See also

TCustomTreeView.States

  

Contains the state values in effect for the control.

TCustomTreeView.Options

  

The set of options enabled in the tree view control.

TCustomTreeView.HotTrack

  

Enables or disables highlight / underline drawing styles on a tree item when the mouse is hovered over it.

TTreeViewOptions

  

Set type used to store values from the TTreeViewOption enumeration.

TTreeViewOption

  

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

TControl.Cursor

  

Contains the shape for the mouse pointer when the mouse is over the control.

TControl.MouseLeave

  

Signals the OnMouseUp handler.


Version 3.2 Generated 2024-02-25 Home