ComboBox.Clear
The ComboBox Control Object that is returned by the AddComboBox function has its own functions which include the Clear function. The Clear function removes any entries from the Combo Box.
Syntax |
ControlObject.Clear() Where ControlObject. is the name of the variable (declared in your script) that is used to store the Combo Box Control Object that is returned by the AddComboBox function. |
Description |
Removes every entry from the Combo Box. |
Arguments |
None. |
Returns |
None. |
Example:
ComboBox1.Clear()
Where:
- ComboBox1 is the name of the variable that stores the ComboBox Control Object returned by the AddComboBox function
- Clear() removes every entry from the combo box.