Returns or sets the text of a specific item in the list of items of the object.
Object.List ( IIndex ) [ = sItemText ]
The List property syntax has the following parts:
Name |
Type |
Description |
Object |
AComboBox |
AComboBox control |
lIndex |
Long |
An integer specifying the zero-based index of the item. |
sItemText |
BString |
The text of a specific item. |
The default value of the List item is NULL (an empty list).
The following statement changes the AComboBox List array's 8th item to be the text string "Blue":
cb1.List(7)="Blue"