hilitedItemIndex

Typeproperty
Dictionarywidget.polylist
LibraryPolyList
Syntax
set the hilitedItemIndex of widget to <integer>
get the hilitedItemIndex of widget
Synonymshiliteditemindex,hilitedline,hilitedlines
Associationscom.livecode.widget.polylist
Summary

Specifies the item that will be hilited on a PolyList control.

Example
set the hilitedItemIndex of widget "PolyList" to 3
set the hilitedItemIndex of widget "PolyList" to 0
set the hilitedItemIndex of widget "PolyList" to infinity
Description

Use hilitedItemIndex to get or set the currently hilited item.

If the value of hilitedItemIndex is zero, the PolyList will not have any items selected. Whereas if you set the value of this property to a value greater than the number of elements in the PolyList, it will be set to the last element in the PolyList.