Skip to main content

selectionChanged

Type

message

Summary

Sent when the user selects one or more rows.

Syntax

selectionChanged <pHilitedRow>,<pPrevHilitedRows>

Description

The selectionChanged message is 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.

Examples

on selectionChanged pHilitedRow, pPrevHilitedRows
local tData, tUserID
# Make sure you have a column named "user-id"

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

# selectUser tUserID
end if
end selectionChanged