Event XbpCrt():mbDown Foundation

Middle mouse button pressed.

:mbDown := {| aPos, uNIL, self | ... }
:mbDown ( <aPos> ) --> self
xbeM_MbDown (1048584)
<aPos> is an array containing two elements { nX, nY } that specifies the current position of the mouse pointer. In text mode the coordinates are given as { nRow, nCol } and in graphics mode they are { nX, nY }.

This method returns the object executing the method (self).


The xbeM_MbDown event is generated when the middle mouse button is pressed in the XbpCrt window. When it is released immediately it is considered a click and the xbeM_MbClick event is generated instead. The mouse coordinates <aPos> correspond to the first message parameter of the function AppEvent(). The value of the instance variable :mouseMode determines whether the mouse position will be given in text or graphic coordinates.


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.