ListIndex Properties

Returns or sets the index of the currently selected item in a list.  Not available at design time.


Syntax

object.RLListIndex [= index ]
object.LLListIndex [= index ]

The syntax of the ListIndex properties has these parts:

PartDescription
objectA DCombo control.
indexA numeric expression specifying the index of the currently selected item.

Remarks

Set the index to -1 to select nothing or n to select the specified item.

The first item in the list is ListIndex = 0, and ListCount is always one more than the largest ListIndex value.

Data Type

Integer