BUTTONDELETE name
name
Deletes (closes) the button that is identified by name.
WINDOWCREATE "main "mywindow "mytitle 0 0 100 100 [] BUTTONCREATE "mywindow "mybutton "PUSH 25 25 25 25 [PRINT "pushed] BUTTONDELETE "mybutton WINDOWDELETE "mywindow