On Fri, 21 Jan 2000 22:23:54 -6:00, I wrote:
>  >If I use an option button on the Home stack to keep track of the
>>stacks I have been working on so I can select which one to open (like
>>a Recent Files feature, on a button instead of from a regular menu),
>>how can I set up the returnKey message to open the stack name
>  >currently displayed on the option button?

On Sat, 22 Jan 2000 00:23:36 -0500, Andu 
([EMAIL PROTECTED]) wrote:
>Try:
>
>on returnKey
>   open stack (the label of btn "myButton")
>end returnKey


Of course, since that's essentially what my option button script is 
doing already. But it's also including a menu item Other... which 
opens the Mac or Windows getfile dialog box to open a file that isn't 
listed already as one of the items in the menu.

Since the script to deal with opening a listed stack or using the 
getfile dialog box is fairly lengthy, I would prefer to be able to 
simply send a menuPick with the currently visible option button item 
as a parameter, and let the button's script handle it just as if I 
had selected the item from the option button's menu.

The question remains, is my workaround the only way to accomplish 
this? And is there a way to send a menuPick message to a button?


Regards,

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

Reply via email to