Skip to main content

hilitedItem

Type

property

Summary

The currently highlighted segment indices

Syntax

get the hilitedItem of <widget>
set the hilitedItem of <widget> to <indexList>

Description

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

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

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

message: hiliteChanged

property: hilitedItemName, multipleHilites