Event XbpCrt():lbDown Foundation

Left mouse button pressed

:lbDown := {| aPos, uNIL, self | ... }
:lbDown ( <aPos> ) --> self
xbeM_LbDown (1048583)
<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_LbDown event is generated when the left mouse button is pressed in the XbpCrt window. When it is released immediately it is considered a click and the xbeM_LbClick event is generated instead. The mouse coordinates <aPos> correspond 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.