Add and delete items in combo boxes
- Last UpdatedJul 25, 2024
- 1 minute read
Use the following script functions to add and delete items from combo boxes and lists
|
Script function |
Effect |
|---|---|
|
wcAddItem() |
Adds an item to the end of the list of a list box or combo box. If sorting is enabled, the list is sorted after the item is added. |
|
wcInsertItem() |
Adds an item at a specified position in the list of a list box or combo box. |
|
wcDeleteItem() |
Deletes an item from a specified position in the list of a list box or combo box. |
|
wcDeleteSelection() |
Deletes the currently selected item from the list or combo box. |
|
wcClear() |
Removes all items from the list or combo box. |