Classes

Message XbpWindow():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 specify the current position of the mouse pointer. By default, the coordinates are relative to the lower left corner of the parent.
Return

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

Description

The xbeM_LbClick event is generated when the Xbase Part 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().

Clicking the left mouse button can generate different events depending on the Xbase Part where the mouse click occurred. For example, a mouse click on a pushbutton creates the event xbeP_Activate.

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.