wcClear() Function
- Last UpdatedNov 23, 2018
- 1 minute read
Removes all items from the list box or combo box.
Category
windows control
Syntax
[ErrorNumber=]wcClear("ControlName");
Parameters
ControlName
The name of the windows control object. For example, ListBox_1. Actual string or message tagname.
Remarks
For a list of returned error numbers, see Understand windows controls error messages.
Applies To
List boxes and combo boxes.
Example(s)
The following statement clears all items in a list box when an action script runs:
wcClear("ListBox_1");