Returns or sets the index of the currently selected item in a ComboBox or ListBox control.
Read-write property
object.ListIndex = [ index ] |
Long
The first item in the list has a ListIndex of zero (0).
The last item in the list has an ListIndex of ListCount - 1.
An ListIndex of -1 indicates that no item is currently selected.