selected_index property

selected_index property

Gets or sets the index number of the currently selected item in a list box or combo box. Zero-based.

Remarks

-1 presents no item is selected.

Definition:

@property
def selected_index(self):
    ...
@selected_index.setter
def selected_index(self, value):
    ...

See Also