Hi.
Buttons are containers, sort of like fields. They just do not display their data in readable form like a field. So you almost had it:
Code: Select all
put button "yourButton" into field "yourField"
Now you have to already have text in that button, and you do that the same way:
Code: Select all
put yourText into button "yourButton"
As for getting this from a group of radio buttons, you had that as well:
Code: Select all
on mouseUp
answer the text of btn the hilitedButton of group "yourRadioButtonGroup"
end mouseUp
Craig Newman
EDIT:
I assume you really meant the text of a button, and not its name or label. True?