Brad,

You could use:

  do "put the short name of " & the selectedbutton of cd family 1 & " into
myVar"

But you're right, you should switch to the radioBehavior of a group (once
Rev allows you to select these).

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

----- Original Message -----
From: "Brad Allen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 03, 2002 11:03 PM
Subject: name of the selectedButton doesn't work


> This works in HyperCard, but not in Revolution:
>
>    put the short name of the selectedButton of family 1 into myVar
>
> Here's the error message:
> Error description: Chunk: can't find object
>
>
> The script below will work around the problem, but such an awkward
> script shouldn't have to be created to get the name of the selected
> button in a radio button group.
>
>     put the selectedButton of cd family 1 into buttonDescriptor
>     do "put the short name of " & buttonDescriptor & " into myVar"
>
>
>
> I looked into the alternative way of handling this, namely grouping
> the buttons and setting the group's radiobehavior to true, but ran
> into a roadblock. Revolution won't allow me to group any objects in
> my imported HyperCard stack. All the menu items for handling grouping
> are grayed out. (This doesn't happen for a newly created stack --
> does this mean my imported stack is corrupt?)
> _______________________________________________
> improve-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/improve-revolution
>

_______________________________________________
improve-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/improve-revolution

Reply via email to