ui.<window name="mywin">
null
ui.<row>
ui.<checkbox name="check0" click=<method null> <echo "the_value is " _subject.the_value/></>/>
ui.<checkbox name="check1" the_value=true/>
</row>
</window>
ui.mywin.center.1.<set the_value=false/> <!-- programmatically set the value -->
ui.mywin.center.1.the_value <!-- returns false -->
Note that check1 in the above example doesn't have a click method.
That's fine. Often check boxes are just read by the program when the program
is ready to read them. If you want some action to happen as soon as
the user clicks on the checkbox, give the checkbox a click method.
© Copyright 2007 Clear Methods, Inc.