Copying Menus

Mark Talluto userev at canelasoftware.com
Tue Sep 7 11:33:05 EDT 2004


On Sep 6, 2004, at 8:41 PM, Sarah Reichelt wrote:

> Hi James,
>
> I suggest making a separate sub-stack and MOVING your original menu 
> group to it, where it can be set to non-Mac style for easy editing. If 
> you call it "Menu1", then in your main stack's preOpenStack handler, 
> you can say:
> 	set the menuBar of this stack to "Menu1"
>
> Back to the menu editing stack, duplicate the group, edit the new one 
> as you see fit, call it "Menu2" or whatever you like, and use the same 
> type of script to set the menubar for stack 2.
>
> I have given up using the Mac-style menus in favor of having them in 
> separate stacks. It makes them easier to edit and I don't have any 
> problems with the objects being relocated or the stack window being 
> resized.
>

I do this as well for some of my projects.  But take note of bug:  
<http://support.runrev.com/bugdatabase/show_bug.cgi?id=1863>
Shortcuts will collide with Revs.  In particular you will have problems 
with Cut, copy, and paste.  You can use a frontscript as a workaround 
to catch those commands and do your magic.

-- 
Best regards,
Mark Talluto
http://www.canelasoftware.com



More information about the use-livecode mailing list