I dont understand how I came into this situation: I can edit menus on mac, but the command "set the editmenus of this stack to false " does not hide the buttons and does not show the mac menu for the stack !
Any advice ?
setting editmenus of stack to false is failing
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 9660
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: setting editmenus of stack to false is failing
Just to make sure, the "menuBar" property is not empty, right? It does not seem so per your post, but just checking.
Craig Newman
Craig Newman
Re: setting editmenus of stack to false is failing
Looking into the custom properties i found one: "editMenu" but probably wrong, if it should correspond with the
"set the editMenus" command. I tried to rename it to "editMenus" but that was not possible. I then deleted it and tried to make a new named "editMenus", but got a message: please enter a name, which doesn't clash with a built in custom property!
I further searched for the Menubar property, as it wasn't in the list I tried to create one, but got the same reply: couldn't be made, because it clashed with a built in property.
"set the editMenus" command. I tried to rename it to "editMenus" but that was not possible. I then deleted it and tried to make a new named "editMenus", but got a message: please enter a name, which doesn't clash with a built in custom property!
I further searched for the Menubar property, as it wasn't in the list I tried to create one, but got the same reply: couldn't be made, because it clashed with a built in property.
-
- VIP Livecode Opensource Backer
- Posts: 7235
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: setting editmenus of stack to false is failing
The property is internal to LC and the one you see in your stack was probably created accidentally when you mistyped the name. You can delete it.
Editmenus won't work until you assign the menubar to the stack. Do this if you haven't already:
The menu builder has built-in checkboxes to handle all this for you.
Editmenus won't work until you assign the menubar to the stack. Do this if you haven't already:
Code: Select all
set the menubar of this stack to <name of menu group >
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: setting editmenus of stack to false is failing
Problem solved, due to your advice. I am very grateful.
Thank you from Kresten
Thank you from Kresten