Condividi tramite


TopItemID Property

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

Control.TopIItemID[ = nItemID]

Return Value

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

Remarks

Applies To: ComboBox | ListBox

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

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

Reference

AddItem Method (Visual FoxPro)

Clear Method

List Property

ListCount Property

MultiSelect Property (Visual FoxPro)

NewItemID Property

RemoveItem Method

Selected Property

TopIndex Property

Other Resources

Properties (Visual FoxPro)

Language Reference (Visual FoxPro)