hilitedItems

Typeproperty
Dictionarywidget.segmented
LibrarySegmented Control
Syntax
get the hilitedItems of <widget>
set the hilitedItems of <widget> to <indexList>
Associationscom.livecode.widget.segmented
Summary

The currently highlighted segment indices

Values
NameTypeDescription
Value

A comma-delimited list of segment indices.

RelatedProperty: hilitedItemNames, multipleHilites
Message: hiliteChanged
Description

The segment numbers of the highlighted segments of the control. Each item in the hilitedItems is a positive integer.

If the multipleHilites is false when setting the hilitedItems, then the first index in the hilitedItems determines which segment is highlighted, and the remainder of the hilitedItems are ignored.

The hiliteChanged message is sent when setting the hilitedItems, unless it doesn't change which segments are highlighted.