RadioButtonOnClick

Help Contents GUI programming RadioButtons RadioButtonOnClick
RadioButtonDestroy RadioButtonValue

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

Reference:

RadioButtonDestroy RadioButtonValue