Sign in Join
FPDoc Onlineexperiment

TButtonPanel.OnMouseMove property

Member of TButtonPanelpublishedIn unit ButtonPanel

Declaration

pascal
property OnMouseMove: ;

Description

Not described here; this is what TControl.OnMouseMove says of it:

Event handler signalled when the mouse pointer is moved in the control.

OnMouseMove is a TMouseMoveEvent property with the event handler signalled when the LM_MOUSEMOVE message is handled for the control. It is signalled (when assigned) from the MouseMove method, and occurs after the mouse position has been updated and the DragManager has been notified of the new pointer position.

An application can implement and assign an object procedure to the event handler to perform actions needed when the mouse position is changed within the control. The control for the notification event is passed as the Sender argument.

Use OnMouseDown and OnMouseUp to respond to mouse button events in the control.

Use OnMouseEnter and OnMouseLeave to respond to mouse movements where the pointer enters or exits the control.

Use OnMouseWheel to perform actions needed when a mouse wheel event occurs in the control.

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