the menuBar and the EditMenus
livfoss at mac.com
Sat Apr 12 08:49:54 EDT 2014
Yes, I think I see - the defaultMenuBar ensures that the app controls the Mac menu line and not the IDE or anything else.
BTW the form of these statements that set the menuBar and the defaultMenuBar seem to be strange, don't they. I mean, one writes
set the menuBar to "myGroup"
there is no scoping here - what if there are lots of groups called "myGroup" in different parts of the stack and substack structure? It appears illegal to specify where the group is, I mean AFAIK you can't write
set the menuBar to grp "myGroup" of card 1 of stack "myLibraryOfGroups"
it isn't really like the rest of the LC language, is it?
On 11 Apr 2014, at 12:32, Mark Schonewille <m.schonewille at economy-x-talk.com> wrote:
> Hi Graham,
> Instead of setting the editMenus to false, you can also set the defaultMenubar to the name of the group that you want to use as a menu and then set the visible of the group to false. This way, the stack size doesn't change.
> Best regards,
> Mark Schonewille
More information about the Use-livecode