BUTTONENABLEnamestate
Enables or disables the button identified by name.
If state equals TRUE, then the button is enabled.
If state equals FALSE, then the button is disabled.
WINDOWCREATE "main "mywindow "mytitle 0 0 100 100 [] BUTTONCREATE "mywindow "mybutton "PUSH 25 25 25 25 [PRINT "pushed] BUTTONENABLE "mybutton "FalseThe button is now disabledBUTTONENABLE "mybutton "True WINDOWDELETE "mywindow