TControl.DoMouseWheelRight function
Signals the OnMouseWheelRight event handler.
Declaration
function DoMouseWheelRight(Shift: TShiftState; MousePos: TPoint)
: Boolean; virtualArguments
Shift | Shift, Ctrl, or Alt modifier for the mouse wheel event. |
MousePos | TPoint instance with the coordinates where the mouse wheel event was detected. |
Function result
True if the mouse wheel event was handled in the OnMouseWheelRight event handler.Description
DoMouseWheelRight is a
Boolean function used to perform
actions when a horizontal mouse wheel movement towards the right has occurred
in the control. It is called, via DoMouseWheelHorz, when a LM_MOUSEHWHEEL
message is received and handled in the WMMouseHWheel method.
DoMouseWheelRight signals the OnMouseWheelRight event handler when it has been assigned in the control. Shift and MousePos contain the shift modifier and the coordinates where the mouse event occurred. They are passed as arguments to the event handler.
The return value indicates whether the event handler accepted and processed the mouse wheel event at the specified position. The default value is False, but it can be updated in the handler routine. The return value is False if OnMouseWheelRight has not been assigned.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
