SelectedIndex Property (AWTList)

Class

AWTList.

Action

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

Syntax

'Declaration
Protected Read Property SelectedIndex As Integer

Access

Read only.

Examples

Dim selectedIndex As Integer = colorsList.SelectedIndex