Question:
How can I add values to a ComboBox?
Solution:
To add values to a ComboBox, you must create a script using this object’s AddItem method. This method should preferably be used in a ComboBox’s OnStartRunning event.
Example of script:
- Sub ComboBox1_OnStartRunning()
- Clear()
- AddItem "Item1"
- AddItem "Item2"
- End Sub
NOTE: Item1 and Item2 are the values to be added to the ComboBox.