Share via


TopItemID Property

Specifies the item ID of the item that appears in the top-most position in a list. Not available at design time; read-nowrite at run time.

Control.TopIItemID[ = nItemID]

Property Values

  • nItemID
    Specifies the item ID of the item that appears in the top-most position in a list.

Remarks

The default setting for the TopItemID property is 1, or the first item in the list.

Run time writes have no effect. For combobox controls, TopItemID is read-only at run time.

See Also

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

Applies To: ComboBox | ListBox