Event XbpCrt():mbClick Foundation

Middle mouse button click.

:mbClick := {| aPos, uNIL, self | ... }
:mbClick ( <aPos> ) --> self
xbeM_MbClick (1048590)
<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_MbClick event is generated when the XbpCrt window is clicked with the middle mouse button (the button is pressed and immediately released). If the key is held down too long, the event xbeM_MbUp is generated instead of xbeM_MbClick. xbeM_MbUp indicates that the mouse button was released. <aPos> contains the current position of the mouse pointer and corresponds to the first message parameter of the function AppEvent(). The value of the instance variable :mouseModedetermines 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.