Help Contents / GUI programming / RadioButtons / RadioButtonOnClick

RadioButtonOnClick aradiobutton instructionlist

Command that sets the onClick event handler of the RadioButton aradiobutton to the commands in the instructionlist. 

Examples: 

	rb=(RadioButton [][PenPaint][] wxRB_GROUP) 
	RadioButtonOnClick rb [ 
		if RadioButtonValue rb [PenPaint setPC 0] 
	] 
	RadioButtonOnClick cb []	;like disabling the RadioButton 


previous: RadioButtonDestroy	next: RadioButtonValue
