The List property syntax has these parts:
Use this property to access list items. If empty, the index is -1. The first item in a list is 0 and the index of the last item is
ListCount -1.
Initially, combo box and list box controls contain an empty list. For controls operating in record list mode (VARecordList property set
True), the list is based on conditions that exist when the control is created at run time.
The List property works in conjunction with the
ListCount and
ListIndex properties. Enumerating a list from 0 to
ListCount -1 returns all items in the list.
To specify items you want to display in a field-bound (VARecordList property
False) VACombo or VAList control, use the
AddItem method. To remove items, use the
RemoveItem method. To keep items in alphabetic order, set the control’s
Sorted property to
True before adding items to the list.