cellClick

Typemessage
Dictionarywidget.polygrid
LibraryPolyGrid
Syntax
cellClick <pColumnNumber>,<pRowNumber>,<pCellRect>
Associationscom.livecode.widget.polygrid
Summary

Sent when the mouse button is released at the end of a cell click.

Parameters
NameTypeDescription
pColumnNumber

The number of the column to which the clicked cell belongs.

pRowNumber

The number of the row to which the clicked cell belongs.

pCellRect

The rectangle of the cell that was clicked on.

Example
on cellClick pColumnNumber, pRowNumber, pCellRect
    local tHilitedText

    if pColumnNumber is 1 then
        set the item del to tab

        set the rect of button "Option Menu" to pCellRect

        put the pgHilitedText of me into tHilitedText
        set the label of button "Option Menu" to item 1 of tHilitedText
    end if
end cellClick
Description

The cellClick message is sent to the widget when the mouse button is released at the end of a click on the same cell.

Tagstable,data