Event XbpCrt():wheel Foundation

Mouse wheel was operated.

Syntax
:wheel := {| aPos, aWheel, self | ... }
:wheel( <aPos>, <aWheel> ) --> self
xbeM_Wheel (1048599)
Parameters
<aPos>
<aPos> is an array containing two elements { nX, nY } that specify the current position of the mouse pointer. By default, the coordinates are specified relative to the lower left corner of the Xbase Part receiving the message. The values in array <aPos> depend on the current setting of the :mouseMode instance variable. The mouse pointer position may be specified in either row and column or xy coordinates.
<aWheel>
<aWheel> is an array with five elements {nKeyMask, nDistance, nLines, nOffset, nLinesToScroll}.
The first element (nKeyMask) is a numeric value indicating special keys pressed while the user rotates the mouse wheel. The value of this element is either 0 (no special key is pressed) or the result of one or more of the following #define constants listed in XBP.CH.
Constants for key states
Constant Description
XBP_MK_LBUTTON Left mouse button is pressed
XBP_MK_MBUTTON Middle mouse button is pressed
XBP_MK_RBUTTON Right mouse button is pressed
XBP_MK_CONTROL Ctrl key is pressed
XBP_MK_SHIFT Shift key is pressed
Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.