I just searched the MC 2.3 Read Me for "popup", and couldn't find the answer
there so I'm here:
Is there a way to use a text list of menu item names instead of a stack for
the popup command? Any other command/function to accomodate this?
I have an app in which I'd like to add a lot of support for right-click
menus, but I'd much rather do it in code than actually build a stack for
every context.
Ideally I'm looking for something like this:
on mouseDown
put "Item 1"&cr&"item 2"&cr&"Item 3" into tMenuItems
get PopupFunction(tMenuItems, the mouseLoc)
DoSomethingWith it
end mouseDown
or if a command, it could look like this:
popup tMenuItems, the mouseLoc
get it
Any suggestions?
If it turns out that I must build a stack for this, how do you folks handle
the resizing of all of the items within it to make it compliant with the
appearance guidelines for each platform?
--
Richard Gaskin
Fourth World
Multimedia Design and Development for Mac, Windows, UNIX, and the Web
_____________________________________________________________________
[EMAIL PROTECTED] http://www.FourthWorld.com
Tel: 323-225-3717 ICQ#60248349 Fax: 323-225-0716
This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm