Event XbpCrt():rbClick Foundation

Right mouse button clicked.

Syntax
:rbClick := {| aPos, uNIL, self | ... }
:rbClick ( <aPos> ) --> self
xbeM_RbClick (1048591)
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_RbClick event is generated when the XbpCrt window is clicked with the right mouse button (the button is pressed and immediately released). If the key is held down too long, the event xbeM_RbUp is generated instead of xbeM_RbClick. xbeM_RbUp 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.