Thanks Mark

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?

Graham
On 11 Apr 2014, at 12:32, Mark Schonewille <[email protected]> 
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

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to