Condividi tramite


TopIndex Property

Specifies the item that appears in the top-most position in a list.

Control.TopIndex[ = nIndex]

Property Values

  • nIndex
    Specifies the index of the item that appears in the top-most position in a list.

Remarks

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.

See Also

AddItem Method | Clear Method | List Property | ListCount Property | MultiSelect Property | NewItemID Property | RemoveItem Method | Selected Property | TopItemID Property

Applies To: ComboBox | ListBox