[Overview][Types][Classes][Procedures and functions][Index] |
Performs actions needed when a band is moved to new position.
Source position: extctrls.pp line 1642
protected procedure TCustomControlBar.MoveBand( |
AMoveBand: TCtrlBand; |
X: Integer; |
Y: Integer; |
ByMouse: Boolean |
); |
AMoveBand |
|
TCtrlBand instance moved in the method. |
X |
|
Horizontal coordinate for the mouse pointer. |
Y |
|
Vertical coordinate for the mouse pointer. |
ByMouse |
|
True if the mouse cursor is changed to the cdGrabber shape prior to moving the specified band on the control. |
MoveBand determines the new position for a band moved using the mouse or by setting its coordinates. Rearranges adjacent bands (and rows) as needed. The DoBandMove method is called to signal the OnBandMove event handler (when assigned).
MoveBand is called from the MouseMove method, and occurs after the DragManager has started the drag operation for the control. It is also used in the CheckBandsSizeAndVisibility method, where it is called after visible bands have been sorted and normalized.
|
Handles a mouse move message including dragging a control band. |
|
|
Signals the OnBandMove event handler for the specified control and drawing rectangle. |
|
|
Event handler signalled when a control band is moved on the control bar. |
|
|
Changes the cursor to the specified shape. |
|
|
Updates the size and visibility for TCtrlBand instances defined in the control bar. |
|
|
Represents cursor shapes displayed when the mouse hovers over different areas in a control band. |
Version 4.0 | Generated 2025-05-03 | Home |