I have some radio-style buttons in my current project. The absolute easiest way is, in psuedo-code
function onButtonClick
- all buttons Set unchecked
button0 -> onClick
- Function.Call("onButtonClick")
- button0 set checked
- radio variable - set 0
button1 -> onClick
- Function.Call("onButtonClick")
- button1 set checked
- radio variable - set 1
etc
nusbaumc maybe this work with a family ??
example
function onButtonClick parameter 0 (id)
for -> buttons instance count
button id =/= id
-Set unchecked
buttons -> onClick
- Function.Call("onButtonClick(buttons.id)")
- radio variable - set 1