Classes

Message XbpCrt():xbeM_MbDown Foundation

Middle mouse button pressed.

Syntax
:mbDown := {| aPos, uNIL, self | ... }
:mbDown ( <aPos> ) --> self
Parameters
<aPos>
<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 }.
Return

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

Description

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.

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.