NewItemID Property

Specifies the item ID of the item most recently added to a ComboBox or ListBox control. Not available at design time; read-only at run time.

 [Form.]Control.NewItemID

Remarks

Applies To: ComboBox Control | ListBox Control

For more information about the differences between using an item ID or an index, see AddItem Method (Visual FoxPro) or AddListItem Method.

See Also

Reference

AddItem Method (Visual FoxPro)

AddListItem Method

Clear Method

ItemData Property

List Property

ListCount Property

MultiSelect Property (Visual FoxPro)

NewIndex Property

RemoveItem Method

Selected Property

TopItemID Property

Other Resources

Properties (Visual FoxPro)