Resetting Menubar to Default

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Pebah
Posts: 23
Joined: Mon Aug 01, 2011 9:35 pm

Resetting Menubar to Default

Post by Pebah » Fri Sep 23, 2011 2:59 am

The menubar in my main stack has only the "LIvecode" and "Edit" menus only. Other stacks in the project have the full IDE menubar. I want to get it all back during development.

A substack has a custom menubar containing only "File" and Edit." I think something is confused now in the main stack.

When the project becomes a standalone I do want the main stack to have only the application name menu. Now it has that and the "Edit" menu as a standalone.

I'm reading about the defaultMenubar property, which is used to set a custom menubar. How do you revert back to the original?

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: Resetting Menubar to Default

Post by Mark » Fri Sep 23, 2011 11:46 pm

Hi,

During development, don't use the defaultMenubar. Just set the editmenus of your stack to true and you will always have the dev menubar. Or click in an IDE window to see the dev menubar or in a script window to see the script editor's menubar.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Pebah
Posts: 23
Joined: Mon Aug 01, 2011 9:35 pm

Re: Resetting Menubar to Default

Post by Pebah » Sat Sep 24, 2011 12:34 am

Thanks!

Post Reply