How does one best deal with menu items such as
Preferences (Options)
About
etc.
Under OSX I wish to have under the “Applicaton” Menu
About
Preferences
Check for Updates
Purchase
But under Windows
About should be under HELP
Preferences should be labeled OPTIONS under EDIT
If in the IDE I put about under the HELP (as an APPLEMENUITEM), and Preferences under EDIT as a PREFSMENU ITEM
then in Windows it seems to be fine… but under OSX I get
Check for Updates
About
Preferences
Purchase
Can I control the order under OSX somehow?
or do I have to create DUPLICATE menu entries, and make one set visible and the other not visible based on TARGETOS?
[h]About Menu[/h]
Create a Help top level menu item under that create an About MyApp menu item whose super is AppleMenuItem, job done, on windows you have Help >> AboutMyApp under Mac you have AppleMenu >> About MyApp.
[h]Preferences Menu[/h]
Create an App constant called kToolsOptions in the constant options have Platform OSX Value Preferences and on the next line have platform Windows value Options.
Create a Tools top level menu item under that create an Options menu item whose super is PrefsMenuItem and in the inspector its text is #App.kToolsOptions, job done, on windows you have Tools >> Options under Mac you have AppleMenu >> Preferences.
[h]Purchase Menu[/h]
Under your Help top level menu item created above create an Purchase menu item whose super is AppleMenuItem, job done, on windows you have Help >> Purchase under Mac you have AppleMenu >> Purchase.
You get the gist… Hope that is what you were after