indexOfSelectedItem()
Returns the index of the selected entry.
Declaration
func indexOfSelectedItem() -> IntReturn Value
The index of the selected entry, or -1 if no entry is selected.
Returns the index of the selected entry.
func indexOfSelectedItem() -> IntThe index of the selected entry, or -1 if no entry is selected.