[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Handles a mouse wheel scroll left message for the control.
Source position: grids.pas line 1039
protected function TCustomGrid.DoMouseWheelLeft( |
Shift: TShiftState; |
MousePos: TPoint |
):Boolean; override; |
Shift |
|
Shift, Alt, Ctrl modifier for the mouse wheel action. |
MousePos |
|
TPoint instance with the coordinates for the mouse pointer. |
True if the mouse wheel message is handled in the method.
DoMouseWheelLeft is an overridden method in TCustomGrid which handles a horizontal mouse wheel scroll message towards the left of the grid control. DoMouseWheelLeft is called from the inherited DoMouseWheelHorz method when an unhandled scroll wheel message with a negative WheelDelta value occurs.
DoMouseWheelLeft calls the inherited method on entry to signal the OnMouseWheelLeft event handler (when assigned). The return value is set to True if the message is handled in the method.
If the message is not handled in the inherited method, the GridMouseWheel method is called using the ssCtrl modifier and the current mouse position as arguments. This is the equivalent of a Ctrl+MouseWheelUp message. The return value is set to True when the message is handled in this manner.
See DoMouseWheelRight for the actions performed for a Ctrl+MouseWheelDown scroll message.
Use MouseWheelOption to specify whether mouse wheel operations are applied to the grid cursor (selection / editing) or the visible area for the control.
|
Signals the OnMouseWheelLeft event handler (when assigned). |
Version 4.0 | Generated 2025-05-03 | Home |