Help Contents / GUI programming / CheckBoxes / CheckBoxSet

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? 


previous: CheckBoxValue	next: CheckBoxEnable
