itemLabels

Typeproperty
Dictionarywidget.navbar
LibraryNavigation Bar
Syntax
get the itemLabels of <widget>
set the itemLabels of <widget> to <labels>
Associationscom.livecode.widget.navbar
Summary

The labels of the navigation items

Values
NameTypeDescription
Value

A comma-delimited list of labels.

RelatedProperty: hilitedItemIcons, itemIcons, itemNames
Description

The display labels for the navigation items of the widget.

Setting the itemLabels can add items to the navigation bar. If the new value of the itemLabels has more items than the navigation bar, as many new navigation items as necessary are created and added to the end of the navigation bar, using a default name, icon and highlighted icon.

If the new value of the itemLabels has fewer items than the navigation bar, the remaining navigation items have their labels reset to the default icon.