CHECKBOXGET

Synopsis
CHECKBOXGET name
Description

Outputs the state (True or False) of the checkbox that is identified by name.

Example
TO CHECKONTHINGS
  IFELSE CHECKBOXGET "myhideturtle [HIDETURTLE] [SHOWTURTLE]
END

WINDOWCREATE "main "mywindow "mytitle 0 0 100 100 []
GROUPBOXCREATE "mywindow "mygroupbox 10 10 80 40
CHECKBOXCREATE "mywindow "mygroupbox "myhideturtle [Hide Turtle] 20 20 60 20
BUTTONCREATE "mywindow "mybutton "Go 40 50 25 25 [CHECKONTHINGS]
WINDOWDELETE "mywindow

SourceForge.net Logo