ListBox.Clear
The ListBox Control Object that is returned by the AddListBox function has a Clear function. The Clear function can be used to remove the entries in the List Box.
Syntax |
ControlObject.Clear Where ControlObject. is the name of the variable (declared in your script) that is used to store the List Box Control Object that is returned by the AddListBox function. |
Description |
Removes the entries from the List Box. |
Arguments |
None. |
Returns |
None. |
Example:
ListBox.Clear()
Where:
- ListBox is the name of the variable used to store the List Box Control Object that is returned by the AddListBox function (which would be defined earlier in the script).
This script removes the options from the List Box.