[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Handles a mouse up event for the grid control.
Source position: grids.pas line 1154
protected procedure TCustomGrid.MouseUp( |
Button: TMouseButton; |
Shift: TShiftState; |
X: Integer; |
Y: Integer |
); override; |
Button |
|
Mouse button for the event notification. |
Shift |
|
Ctrl, Alt, or Shift modifier for the mouse event. |
X |
|
Horizontal coordinate for the mouse pointer. |
Y |
|
Vertical coordinate for the mouse pointer. |
MouseUp is an overridden method in TCustomGrid used to perform actions needed when a mouse up event has been received for the grid control. It calls the inherited method on entry to signal the OnMouseUp event handler (when assigned). MouseUp performs additional actions based on the grid zone where the mouse up event occurred and the current grid state flags for the control.
For example:
Values in GridFlags are updated to remove flag values for the handled actions, and the grid state is set to gsNormal prior to exit.
MouseUp is called when window messages are handled in the WMLButtonUp, WMRButtonUp, and WMXButtonUp methods in the ancestor class.
|
Contains grid-specific state flags active for the control. |
|
|
Enumerated type with grid state values. |
|
|
Scrolls an associated grid when a column or row is dragged beyond the client area for the control. |
|
|
Signals the OnMouseUp handler. |
|
|
Event handler signalled when a mouse up event is handled for the control. |
|
|
Message handler for left mouse button up events. |
|
|
Message handler for right mouse button up events. |
|
|
Message handler for extra mouse button up events. |
Version 4.0 | Generated 2025-05-03 | Home |