info(“matrixcellselected”)

The info(“matrixcellselected”) function returns the selection status of the current matrix object cell.


Description

This function returns the selection status of the current matrix object cell. 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.

The value returned by this function will be true if the cell is selected, or false if it is not. This function is especially handy if you want to provide your own custom highlighting for the matrix. By using this function inside an Image Display object you can display a different image for selected vs. unselected matrix cells. You could also use this function inside a Text Display object to display different text, or different symbols with a symbol font, or you could highlight the text differently using this function in combination with the textdisplay( or richtextdisplay( functions.


See Also


History

VersionStatusNotes
10.0NewNew in this version.