Menubar on Windows
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Menubar on Windows
Oops, I should have noted that the problem just noted only occurs on Mac. Both menu items show on Windows.
-
- VIP Livecode Opensource Backer
- Posts: 9851
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Menubar on Windows
I hate to be one of those "RTFM" dudes, but this is a good case where reviewing the User Guide on menus would help.
The short version:
To accommodate the differences between Mac and everything else, the last two items of an Edit menu should be a separator line ("-") followed by "Preferences...".
On Mac the LC engine automatically removes the last two items, rendering Preferences in the Application menu. On Win and Linux they remain in place, per the guidelines for those platforms.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Menubar on Windows
Duly noted, and thanks. The problem was the single-word menuItem "Quit". Mac, apparently, doesn't like that. Changing it to "Quit Tonal Assistant", as I noticed is the practice in other Mac apps, made the difference.I hate to be one of those "RTFM" dudes, but this is a good case where reviewing the User Guide on menus would help.
The short version:
To accommodate the differences between Mac and everything else, the last two items of an Edit menu should be a separator line ("-") followed by "Preferences...".
On Mac the LC engine automatically removes the last two items, rendering Preferences in the Application menu. On Win and Linux they remain in place, per the guidelines for those platforms.
-
- VIP Livecode Opensource Backer
- Posts: 9851
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: Menubar on Windows
I was thinking of the wrong menu, but the same idea is in play. You should see a menu item with that name in the Application menu. Adding the item as "Quit" lets LC move it automatically and not render it in the File menu (older macOS versions used to put that in the File menu, but that was back a ways).
See page 176 of the User Guide for details on that and related automatic menu adjustments to handle macOS' unusual needs.
See page 176 of the User Guide for details on that and related automatic menu adjustments to handle macOS' unusual needs.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn