info("matrixcell")

info("matrixcell")

The** info(“matrixcell”) **function returns the current cell number within a matrix object.

**Description**

This function returns the current cell number within a matrix object. There are two places this function can be used:

1) When drawing the matrix (in a formula in an object that is in the matrix frame).

2) In a procedure that is triggered by clicking on the matrix.

Matrix cells are numbered starting with 1 in the upper left hand corner. If the matrix order is horizontal, then the cell numbers will be consecutively numbered from left to right in each row. If the matrix order is vertical, then the cell numbers will be consecutively numbered from top to bottom in each column.

**See Also**

- dragarrayorder -- tracks dragging of a cell within a Matrix or Text List object, then reorders the array associated with that object accordingly.
- dragwithinmatrix -- tracks dragging of a cell within a Matrix or Text List object.
- info("matrixcelldata") -- returns the data associated with the current matrix object cell.
- info("matrixclickedframe") -- identifies which section of a matrix was clicked on.
- info("matrixclickedobject") -- identifies which named object in a matrix was clicked on (if any).
- info("matrixclickedobjectid") -- returns the object id of the object in a matrix that was clicked on (or zero if none).
- info("matrixclickinfo") -- identifies what section and what named object was clicked on in a matrix.
- info("matrixcolumn") -- returns the current column number within a matrix object.
- info("matrixname") -- returns the name of the matrix object being drawn, if any.
- info("matrixrow") -- returns the current row number within a matrix object.
- info("matrixseparator") -- function returns the separator associated with the current matrix.
- matrixbutton -- helps implement buttons in a matrix object.
- matrixbuttonhelper -- helps implement buttons in a matrix object.
- matrixclick -- will run the code belonging to an object that was clicked within a matrix frame.
- matrixclickedobjectid -- helps implement buttons in a matrix object.
- matrixredrawclickedcell -- redraws the matrix cell that was just clicked.

**History**

Version | Status | Notes |

10.0 | No Change | Carried over from Panorama 6.0. |