Event XbpCrt():motion Foundation

Mouse has been moved.

:motion := {| aPos, uNIL, self | ... }
:motion ( <aPos> ) --> self
xbeM_Motion (1048598)
<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_Motion event is generated whenever the mouse is moved. The coordinates of the mouse pointer and self are passed to the code block. The current position of the mouse pointer <aPos> corresponds to the first message parameter of the function AppEvent(). The value of the instance variable :mouseMode determines whether the mouse position is 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.