From Xojo Documentation

Revision as of 19:05, 3 September 2020 by THill (talk | contribs) (Text replacement - "{{Deprecated" to "{{DeprecatedItem")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Class (inherits from MenuItem)

Used to place menu items in the Application menu on macOS. A menu item subclassed from AppleMenuItem is automatically moved to the Application menu for macOS builds. On all other target platforms, the menu item appears where you put it in the Menu Editor. You cannot place menu items directly in the Apple or application menus in the Menu Editor.

Since this class is based on MenuItem, please refer to this class for information the AppleMenuItem's properties, methods, and events.


To use AppleMenuItem, create the menu item under the menu that you want to use for the Windows and Linux builds of the application and then change its super class to AppleMenuItem in the Inspector. Otherwise, set up the menu item normally.

See Also

MenuItem, PrefsMenuItem, QuitMenuItem classes.