Method XbpCellGroup():cellFromPos() Foundation

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

Syntax
:cellFromPos( <aPos> ) --> nRowPos
Parameters
<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.
Return

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

Description

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>.

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.