SelectedIndex Property (AWTChoice)

Class

AWTChoice.

Action

Gets the index of the 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 = colorsChoice.SelectedIndex