Page 1 of 1
radio buttons
Posted: Thu Oct 30, 2008 3:17 am
by Glenn Boyce
I have 3 radio buttons in a group. Each has a name. I want to put the name of which ever one is highlighted into a field. How do I do that. I can't find any scripting reference to radio buttons.
Posted: Thu Oct 30, 2008 3:31 am
by Mark
Hi Glenn,
I believe it is something like this, in the script of a group containing the radio buttons:
Code: Select all
on mouseUp
put the name of the hilitedButton into fld "Your Field"
end mouseUp
If it doesn't work, look up hilitedButton in the docs.
Best,
Mark
Posted: Thu Oct 30, 2008 10:18 am
by Klaus
Or just use (in the group script):
Code: Select all
on mouseUp
put the hilitedButtonName of me into fld "Your Field"
end mouseUp
Best
Klaus