LISTBOXENABLE

Synopsis
LISTBOXENABLE name state
Description

Enables or disables the listbox identified by name. If state equals TRUE, then the listbox is enabled. If state equals FALSE, then the listbox is disabled.

Example
WINDOWCREATE "main "mywindow "mytitle 0 0 100 100 []
LISTBOXCREATE "mywindow "mylist 25 25 50 50
LISTBOXADDSTRING "mylist [Triangle]
LISTBOXADDSTRING "mylist [Square]
LISTBOXENABLE "mylist "FALSE

The listbox is now disabled

LISTBOXENABLE "mylist "TRUE
LISTBOXDELETE "mylist
WINDOWDELETE "mywindow

SourceForge.net Logo