On Fri, 31 Dec 1999, David Cramer wrote:
> What is the correct scripting syntax for referring to the objects in a group?
>
> In a current situation, I have a group of buttons in a stack menu
> panel. If one of the buttons is hilited when the user presses the
> escape key, that button is still hilited the next time the menu
> opens. So I'd like to say something like:
>
> set the hilite of all the buttons in grp "mButtons" to false
>
> But this doesn't seem to work, although it seems to me I read of
> something like this earlier this year. If not, I can loop through the
> objects, but even then I can't find the syntax in the reference
> stacks. What am I missing?
You could loop over all the buttons and set their hilites to false,
but the easy way to do this is:
set the hilitedButtonName of grp "mButtons" to empty
Scott
> Happy New Year/Millennium!
>
> David
> --
> David Cramer, Process Innovation Evangelist 87-1313 Border Street
> PBSC Computer Training Centres (an IBM company) Winnipeg MB R3H 0X4
> Corporate Office Research & Development Canada
>
> This is the MetaCard mailing list.
> Archives: http://www.mail-archive.com/metacard%40lists.best.com/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
>
********************************************************
Scott Raney [EMAIL PROTECTED] http://www.metacard.com
MetaCard: You know, there's an easier way to do that...
This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm