group syntax question

Jim Ault JimAultWins at yahoo.com
Tue Nov 22 04:03:22 EST 2005


I suppose you could set a custom property of the group and test that .
Assuming the hilite is only changed by a user click, the mouseup would be
the only place to do the maintenance of the property, then you could test it
later.

Does this change on each card, or could this even be a stack custom
property?

Jim Ault
Las Vegas


On 11/21/05 10:55 PM, "Mark Wieder" <mwieder at ahsoftware.net> wrote:

> All-
> 
> Is there an easier way to get the label of the selected radio button
> in a group? I've got several occurrences where I've got something like
> the following ugly syntax. It seems like there should be something
> more intuitive, but I can't seem to come up with it.
> 
> switch the label of button (the hilitedButton of group "gpFilter") of group
> "gpFilter"
>   case "the label of radio button 1"
>     break
>   ...etc.
> end switch





More information about the use-livecode mailing list