wcDeleteSelection() Function
- Last UpdatedNov 23, 2018
- 1 minute read
Deletes the currently selected item from the list.
Category
windows control
Syntax
[ErrorNumber =]wcDeleteSelection("ControlName");
Parameter
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 deletes the currently selected item in a list box list when an action script runs:
wcDeleteSelection("ListBox_1");