Odd menu
dunbarx at aol.com
dunbarx at aol.com
Tue Mar 8 18:00:40 EST 2011
Richard.
Odd, but that explains it. You cannot have the last menu be a custom menu.
I guess this was true in HC as well. If you created a new menu, you did not have control over where it was placed except within the confines of the built-in menuSpace open to you. And the "help" menu was always last. I just rashly assumed that with the additional control in LC, I could shuffle at will.
Thanks.
Craig
-----Original Message-----
From: Richard Gaskin <ambassador at fourthworld.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Tue, Mar 8, 2011 5:27 pm
Subject: Re: Odd menu
dunbarx wrote:
> I threw a small mainstack together and saved it. I used the menuBuilder to add a new menu (a default, "menu 4") and populated it with a few menuItems (also defaults, "item 1", "item 2", etc. up to "item 6"). No other actions, just this build procedure.
>
>
> But Menu 4 truncates the last two menuItems, so I only see 1-4. If I delete all but two, I see nothing, and in fact the menu itself disappears. If I add one more menuItem, (item 3 again) I see only item 1.
>
>
> If I do not set the menu as a stack menu all the items are there as advertised (I am on a Mac). Going back and forth does nothing. The other default menus, "File", "Edit" and "Help", all are fine. A new session works the same way.
>
>
> Anyone ever see this? I use custom menus all the time. No problem. LC v4.3.
>
It's a feature: in HIG-compliant apps the last menu is "Help", and the last menu item is "About" with second-to-last being a divider.
The menu will render unaltered on Linux and Windows, but since Mac is different it moves the last item to the application menu and removes the divider that had been above it.
--
Richard Gaskin
Fourth World
LiveCode training and consulting: http://www.fourthworld.com
Webzine for LiveCode developers: http://www.LiveCodeJournal.com
LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list