OpalClearListfunction OpalClearList(window_ref:integer, widget_ref:integer, txt:string) : integer |
Wipe all of the list options for this widget. Lists must always have at least one choice; txt specifies the name of the new option. If the widget referenced is not a list or a drop-down, then this command is ignored. Returns 0 as the reference of the new list item, or -1 if failed. |
window_ref:integer = ref of the window that contains the list widget widget_ref:integer = ref of the list widget txt:string = name of the new option This function returns an integer |