ListIndex

<< Click to Display Table of Contents >>

 

ListIndex

Variant Identifies the item currently selected on the list, which is called index. The values of this property range from -1 (minus one) to the total amount of rows on a list minus one (that is, ListCount - 1). When no row is selected, this property returns -1 (minus one). When users select a row on a List, the application defines the value of this property. The value of this property for the first row on a list is 0 (zero), the value of the second row is 1 (one), and so on. This property cannot be changed while this object is active.

Was this page useful?