group syntax question
davis.phil at comcast.net
Tue Nov 22 01:07:40 CST 2005
You could add a line of code like the following in the group script:
set the uTargetLabel of me to the label of the target
That would reduce the ugliness a little:
switch (the uTargetLabel of grp "gpFilter")
Just an idea...
Mark Wieder wrote:
> 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"
> end switch
More information about the use-livecode