info("matrixname")
info("matrixname")

The info(“matrixname”) function returns the name of the matrix object being drawn, if any.

Description

The info(“matrixname”) function is designed to be used with matrix objects. It returns the name of the matrix object currently being drawn, if any. This function allows a single matrix frame to be used with two or more matrixes. The display for each matrix can be adjusted based on the matrix name.

The formula below can be used to display items from a catalog in several matrixes. Each matrix will display a different category, depending on what the name of the matrix is.

    array(
        lookupall(
             "Catalog",
             "Category",
             info("matrixname"),
             "Item",
             cr()),
         info("matrixcell"),
         cr()
    )

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("matrixcell") -- returns the current cell number within a matrix 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("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.