selectionChanged

Typemessage
Dictionarywidget.polylist
LibraryPolyList
Syntax
selectionChanged (pPreviousSelectionIndex,pNewSelectionIndex)
Associationscom.livecode.widget.polylist
Summary

This message is sent when the selection is changed.

Parameters
NameTypeDescription
pPreviousSelectionIndex

An Integer representing the index of the element previously selected.

pNewSelectionIndex

An Integer representing the index of the element just selected.

Description

Use the selectionChanged message to detect when a list item selection is changed by the user.