SelectedIndex Property (JComboBox)

Class

JComboBox.

Action

Gets the index of the currently selected item. The value is zero-based.

Syntax

'Declaration
Protected Read Property SelectedIndex As Integer

Access

Read only.

Examples

Dim selectedIndex As Integer = colorsComboBox.SelectedIndex