Classes

Message XbpCrt():xbeM_LbClick Foundation

Left mouse button clicked.

Syntax
:lbClick := {| aPos, uNIL, self | ... }
:lbClick ( <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_LbClick event is generated when the XbpCrt window is clicked with the left mouse button (the button is pressed and immediately released). If the key is held down too long, the event xbeM_LbUp is generated instead of xbeM_LbClick. xbeM_LbUp 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.

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.