COMBOBOXDELETESTRINGname
index
Deletes the item at index
from the listbox portion of a combobox that is identified by name
.
Combobox items are zero-indexed, which means that the first item in the combobox is at index 0, the second is at index 1, etc.
If there are index
items or fewer in the combobox, then the instruction does nothing.
This is not considered an error.
WINDOWCREATE "main "mywindow "mytitle 0 0 100 100 []
COMBOBOXCREATE "mywindow "mycombo 25 0 50 50
COMBOBOXADDSTRING "mycombo [3]
COMBOBOXADDSTRING "mycombo [4]
COMBOBOXADDSTRING "mycombo [5]
COMBOBOXADDSTRING "mycombo [6]
COMBOBOXDELETESTRING "mycombo 1
WINDOWDELETE "mywindow