Method XbpMultiCellGroup():cellFromPos() Foundation

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

:cellFromPos( <aPos> ) --> aRowCol
<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.

<aRowCol> is a two-element array { nRowPos, nColPos } which indicates the row and column 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.