AddItem Property
Applies To
ListBox, ComboBox
Description
Used to add an item to a ListBox or ComboBox control.
Usage
GSet Form.Control.AddItem, value
- Form
- Name of a form or string variable containing a form name.
- Control
- Name of a control or string variable containing a control name. The control must exist in the specified form.
- value
- String expression for the new value of the property.
Values
A string value to be added to the list.
See Also
ComboBox, ListBox, List, ListCount, Sorted
Example
GSet frmMain.lstModels.AddItem, "Model1"