CheckBoxSet

HC GUI programming CheckBoxes CheckBoxSet
CheckBoxValue CheckBoxEnable

CheckBoxSet acheckbox state


Command that sets the CheckBox acheckbox to checked if state is true, to unchecked if false.

state must be a boolean.

Example:

cb=CheckBox [][Hide Turtle][
	ifelse CheckBoxValue cb [hideTurtle][showTurtle]
	updateGraph]
CheckBoxSet bc shown?

Reference:

CheckBoxValue CheckBoxEnable