group syntax question

Ken Ray kray at sonsothunder.com
Tue Nov 22 02:58:51 EST 2005


On 11/22/05 1:38 AM, "Mark Wieder" <mwieder at ahsoftware.net> wrote:

> Richard-
> 
> Monday, November 21, 2005, 10:59:07 PM, you wrote:
> 
>> do (the uAction of the hilitedbutton of grp "gpFilter")
> 
> ...interesting idea, but I don't want to trigger an event when the
> radio button is selected, I just want to be able to query it later on.
> I suppose I could have the mouseUp event trigger the setting of a
> local variable and then query that when the time comes, but that seems
> like adding an extra level.

Can you use the *name* of the button instead of its label? If you can, it
would be:

switch (the hilitedButtonName of group "gpFilter")
  ...

If not, perhaps you should lobby for the 'hilitedButtonLabel' property...

:-)

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com




More information about the use-livecode mailing list