Method XbpCellGroup():cellFromPos() Foundation

Retrieves the row position of a cell from a graphic coordinate.

:cellFromPos( <aPos> ) --> nRowPos
<aPos> := { nX, nY }
The parameter <aPos> is a two element array holding numeric values for the X and Y coordinate. It is usually the position of the mouse pointer.

The method returns as a numeric value the row position of the cell found at the specified coordinate.


The method :cellFromPos() is mostly used to determine the cell that is clicked with the mouse pointer. In this case, the first message parameter of the AppEvent() function is passed for <aPos>.


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.