Sign in Join
FPDoc Onlineexperiment

TCustomTreeView.MouseMove procedure

Member of TCustomTreeViewprotectedIn unit ComCtrls

Handles mouse move messages for the control.

Declaration

pascal
procedure MouseMove(Shift: TShiftState; X: Integer; Y: Integer)
 ; override

Description

MouseMove is an overridden method in TCustomTreeView used to handle mouse move messages for the control. It calls the inherited method on entry to notify the drag manager when the control is dragged, and signals the OnMouseMove event handler (when assigned).

MouseMove ensures that an automatic insertion mark is generated when needed. It updates the tool tip (or Hint) location. It also updates the hot tracking position when needed. When MultiSelect is enabled, a new tracking position causes the entire control to be redrawn. If MultiSelect is not enabled, only the display rectangles for the previous and the current hot-tracked tree nodes are redrawn.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.