TPage.OnMouseMove property
Event handler signalled when the mouse pointer is moved in the control.
Declaration
property OnMouseMove:;Description
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.
This description is the one of Controls.TControl.OnMouseMove.
See also
- MouseMove
- WMMouseMove
- OnMouseDown
- OnMouseEnter
- OnMouseLeave
- OnMouseUp
- OnMouseWheel
- TMouseMoveEvent
- MouseMove
- DragManager
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
