[Overview][Types][Classes][Procedures and functions][Index] |
Handles a mouse move message including dragging a control band.
Source position: extctrls.pp line 1640
protected procedure TCustomControlBar.MouseMove( |
Shift: TShiftState; |
X: Integer; |
Y: Integer |
); override; |
Shift |
|
Shift, Ctrl, or Alt modifier for the mouse event. |
X |
|
Horizontal coordinate for the mouse pointer. |
Y |
|
Vertical coordinate for the mouse pointer. |
MouseMove is an overridden method in TCustomControlBar which handles a mouse move message at the specified X and Y position using the specified Shift modifier. It calls the inherited method on entry to update the mouse position for the DragManager (when active) and to signal the OnMouseMove event handler (when assigned).
MouseMove calls ChangeCursor to update the cursor shape when a band move operation is started. If the operation is already active and handled by the DragManager, the MoveBand method is called for the band under the mouse pointer. DragControl is called if the DragManager does not handle the action for the specified position.
|
Changes the cursor to the specified shape. |
|
|
Performs actions needed when a band is moved to new position. |
|
|
Signals an assigned OnBandDrag event handler and starts a drag operation for the specified control. |
|
|
Event handler signalled when the mouse pointer is moved in the control. |
|
|
Handler for MouseMove events. |
|
|
Message handler for mouse move events. |
|
|
The current DragManager (always TDragManagerDefault). |
|
|
The abstract base class used to manage dragging of controls (for drop or dock operations). |
Version 4.0 | Generated 2025-05-03 | Home |