Page 1 of 1

copy menus to substack

Posted: Sat Jan 01, 2011 3:37 am
by kwinkler
I have created a menu bar in my main stack. I have a substack with a default menu bar. Is there any way to duplicate the menu bar from the main stack over to the substack, or do I have to recreate it piece-by-piece? Thanks for any advice.

Re: copy menus to substack

Posted: Sat Jan 01, 2011 12:40 pm
by Klaus
Hi kwinkler,

since a "menu bar" is just a group of buttons, you surely can copy the whole group to your substack.
If that is what you mean.

I wish you a happy new year! :)


Best

Klaus

Re: copy menus to substack

Posted: Sat Jan 01, 2011 3:50 pm
by kwinkler
Happy New Year Klaus,

My first idea also was to copy the menu buttons to the substack, but they show up as a simple collection of buttons. They do not appear as a menu in the Menu Builder, where I would like to use "Set as stack Menu bar" to make them appear at the top of the screen on a Mac. I see there are a lot of menu commands available. Perhaps something like the 'menubar' command will allow me to group the buttons into a menu.

Regards,

Ken

Re: copy menus to substack

Posted: Sun Jan 02, 2011 9:27 pm
by Janschenkel
Don't copy the individual buttons, copy the group they're contained in, and then set the 'menubar' property of the substack to the long id of that copied group.

Jan Schenkel.

Re: copy menus to substack

Posted: Mon Jan 03, 2011 4:15 am
by kwinkler
Jan,

That sounds like what I need. I'll give it a try when I get back to work.

Ken

Re: copy menus to substack

Posted: Mon Jan 03, 2011 1:11 pm
by Klaus
Hi Ken,
Klaus wrote:...you surely can copy the whole group to your substack...
That's what I wrote! 8)


Best

Klaus