selectionChanged

Typemessage
Dictionarywidget.polygrid
LibraryPolyGrid
Syntax
selectionChanged <pHilitedRow>,<pPrevHilitedRows>
Associationscom.livecode.widget.polygrid
Summary

Sent when the user selects one or more rows.

Parameters
NameTypeDescription
pHilitedRow

The numbers of the selected rows, delimited by commas.

pPrevHilitedRows

The number of previously selected rows, delimited by commas.

Example
on selectionChanged pHilitedRow, pPrevHilitedRows
    local tData, tUserID

    if pHilitedRow is an integer then
        put the pgData of me in tData
        put tData[pHilitedRow]["user-id"] in tUserID

        # selectUser tUserID
    end if
end selectionChanged
Description

The selectionChanged message is sent when the user selects one or more rows.

Tagstable,data