Platforms to show: All Mac Windows Linux Cross-Platform

NSMenuItemMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa Menus MBS MacBase Plugin 7.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
A class to represent a menuitem from the Cocoa world.

All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Some events using this class:

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes

  • Version 23.5
    • Added new methods and properties to NSMenuMBS and NSMenuItemMBS for macOS Sonoma for palette menus and section headers.
  • Version 22.0
    • Fixed Constructor and MenuItem function in NSMenuItemMBS class to work for DesktopMenuItem.
  • Version 20.3
  • Version 18.3

The items on this page are in the following plugins: MBS MacBase Plugin.

NSMenuItemCellMBS   -   NSMenuMBS

💬 Ask a question or report a problem
The biggest plugin in space...