ListBox.ItemIndex

Syntax

ListBox.ItemIndex

Data Type

Long

Purpose

Specifies the index of the currently selected item in the control.

Note You cannot change this property at design time.

Remarks

When no item is selected, the value of this property is -1 .

See Also

ListBox.Count