wcSaveList() Function
- Last UpdatedNov 23, 2018
- 1 minute read
Saves the items of a list box or combo box to a file.
Category
windows control
Syntax
[ErrorNumber=]wcSaveList("ControlName","Filename");
Parameters
ControlName
The name of the windows control object. For example, ListBox_1. Actual string or message tagname.
Filename
Contains the name of a file. If the file does not exist, it is created. 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 saves the current items in a list box in a file (c:\newlist.txt) when an action script runs:
wcSaveList("ListBox_1", "c:\newlist.txt");
See Also
wcLoadList(), wcSetItemData()