At 6:43 PM +0000 4/8/06, Björn Eiríksson wrote:
Why on earth do we have platform menu editor
where one can select the platforms and see the
menus if it cannot be used to handle the
platform differences ?
Because some menu items move around depending on
the platform, and it's important that you be able
to see these position differences when designing
your menus.
Example:
I put "Quit" in the File Menu on MacOS X
(Yes I know that this one I can do with
constants)
Then I select Windows to see the Windows
menus and I change the Quit to Exit there.
Now I change back to MacOS X menus and I will have Exit.
Yes, of course. You need to use a constant if you want different text.
Example 2:
I put about menu on MacOS X in the Edit
Menu and have its super set as AppleMenuItem so
it will
go where About menu should go on MacOS X.
(On MacOS X I have no Help Menu).
You should put it directly under the blue apple
when in Mac OS X mode. It will need a "home"
location to be in on other platforms, though.
That's why you do:
On Windows I create Help menu and drag the About menu to there.
Now, when you switch back to Mac OS X, you should
find that it is drawn in the Apple menu, and in
Windows, it's drawn in the Help menu. Menus that
move have two locations: a "home" location where
they appear for platforms that don't have any
special place for such menus (i.e., the Apple
menu for AboutMenuItems and PrefsMenuItems), and
then the special location defined by the platform.
Best,
- Joe
--
Joseph J. Strout
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>