matrixclickedobjectid
matrixclickedobjectid
OBJECTID

The matrixclickedobjectid statement helps implement buttons in a matrix object.

Parameters

This statement has one parameter:

objectid – Returns id of object that was clicked on, or 0 if none.

Description

This statement helps implement buttons in a matrix object. It can be called when a user clicks within a matrix to find out which object within the matrix frame was clicked on, if any.

    local mButton
    matrixbutton mButton
    if mButton="Add"
        ...
        ...
     elseif mButton="Delete"
        ...
        ...
     endif

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("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.
- matrixredrawclickedcell -- redraws the matrix cell that was just clicked.

History

Version | Status | Notes
10.0 | New | New in this version.