Event handler signalled when the mouse pointer is moved in the control.
Source position: controls.pp line 1590
protected property TControl.OnMouseMove : TMouseMoveEvent |
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.
|
Handler for MouseMove events. |
|
|
Message handler for mouse move events. |
|
|
Event handler signalled when a mouse down event is handled for the control. |
|
|
Event handler signalled when the mouse pointer has entered the control. |
|
|
Event handler signalled when the mouse pointer has left the control. |
|
|
Event handler signalled when a mouse up event is handled for the control. |
|
|
Event handler for mouse wheel turned. |
|
|
Specifies an event handler used to respond to mouse movement events. |
|
|
Generates visual feedback for mouse movement in a drag operation. |
|
|
The current DragManager (always TDragManagerDefault). |
Lazarus Component Library (LCL) | Version 4.99-d6c071c19d (2025-01-19) | Home |