Specifies the item that appears in the top-most position in a list.
Control.TopIndex[ = nIndex] |
Return Value
- nIndex
- Specifies the index of the item that appears in the top-most position in a list.
Remarks
Applies To: ComboBox | ListBox
The index of an item reflects its position in the list, which is relative to other items in the list and can change.
Combo box controls are read-only all the time and list box controls are read-only at design time and read/write at run time.