group syntax question

xavier.bury at clearstream.com xavier.bury at clearstream.com
Tue Nov 22 02:06:51 EST 2005


Mark!

That's funny! The Active search stack uses that same function in the 
search button! ;)
BTW, did you get my modified stack?

Xavier

use-revolution-bounces at lists.runrev.com wrote on 22/11/2005 07:59:07:

> Mark Wieder 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
> 
> One approach could be to assign each button a uAction property, which 
> contains the name of a handler to be called when it's selected.
> 
> So rather than the above you could write something like:
> 
> do (the uAction of the hilitedbutton of grp "gpFilter")
> 
> --
>   Richard Gaskin
>   Fourth World Media Corporation
>   __________________________________________________
>   Rev tools and more: http://www.fourthworld.com/rev



-----------------------------------------
To make communications with Clearstream easier, Clearstream has
recently changed the email address format to conform with industry
standards. The new format is 'firstname.familyname at clearstream.com'.

Visit us at http://www.clearstream.com

IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.

END OF DISCLAIMER



More information about the use-livecode mailing list