SelectedIndex Property (AWTList)

Class

AWTList class

Action

Gets the index of the currently selected item. -1 (4Test: 0) is returned, if no item is currently selected. The value is one-based.

Data Type

INTEGER

Access

Read only

Examples

INTEGER iSelectedIndex = ColorsList.SelectedIndex