Tag Info

Hot answers tagged

2

Not sure if it is what you are after: action[dog_] := Print@StringForm["take dog no.`` for a walk", dog]; RadioButtonBar[Dynamic[dog, (dog = #; action[dog]) &], {1, 2, 3}]



Only top voted, non community-wiki answers of a minimum length are eligible