Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

NSMenuMBS.allowsContextMenuPlugIns as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Menus MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Whether the popup menu allows appending of contextual menu plugin items.
Notes:
Value is true if the popup menu allows appending of contextual menu plugin items, otherwise false.
Available in Mac OS X v10.6 and later.
(Read and Write property)

Feedback, Comments & Corrections

NSMenuMBS.autoenablesItems as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Menus MBS MacBase Plugin 7.7 Yes No No Yes, macOS only No
Function: Whether menu items are automatically enabled and disabled.
Notes:
Mac OS X 10.5 only.
(Read and Write property)

Feedback, Comments & Corrections

NSMenuMBS.Font as NSFontMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Menus MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: The font used to display the menu and its submenus.
Notes:
This font will be used to display the menu and any submenus that have not had their font set explicitly.
Available in Mac OS X v10.6 and later.
(Read and Write property)

Feedback, Comments & Corrections

NSMenuMBS.Handle as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Menus MBS MacBase Plugin 7.2 Yes No No Yes, macOS only No
Function: The internal reference to the NSMenu object.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSMenuMBS.highlightedItem as NSMenuItemMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Menus MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns the highlighted item in the receiver.
Notes:
Returns the highlighted item in the receiver, or nil if no item in the menu is highlighted.
Available in Mac OS X v10.5 and later.
(Read only property)

Feedback, Comments & Corrections

NSMenuMBS.menuBarHeight as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Menus MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns the menu bar height for the current application's main menu.
Notes:
Returns the receiver's main menu bar height or 0.0 if the receiver is some other menu.
This method supersedes the menuBarHeight class method of the NSMenuView class.
Available in Mac OS X v10.4 and later.
(Read only property)

Feedback, Comments & Corrections

NSMenuMBS.minimumWidth as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Menus MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: The minimum width of the menu.
Notes:
The menu will not draw smaller than its minimum width, but may draw larger if it needs more space. The default value is 0.
Available in Mac OS X v10.6 and later.
(Read and Write property)

Feedback, Comments & Corrections

NSMenuMBS.numberOfItems as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Menus MBS MacBase Plugin 7.2 Yes No No Yes, macOS only No
Function: The number of menu items in this menu.
Notes: (Read only property)

Feedback, Comments & Corrections

NSMenuMBS.showsStateColumn as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Menus MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns a Boolean value that indicates whether the receiver displays the state column.
Notes:
Available in Mac OS X v10.5 and later.
Returns true if the receiver displays the state column, otherwise false.

The state column is the area in the menu items, where state of menuitems are shown like a checkmark.
(Read and Write property)

Feedback, Comments & Corrections

NSMenuMBS.size as NSSizeMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Menus MBS MacBase Plugin 9.6 Yes No No Yes, macOS only No
Function: Returns the size of the menu.
Notes:
Returns the size of the menu in screen coordinates.
The menu may draw at a smaller size when shown, depending on its positioning and display configuration.
Available in Mac OS X v10.6 and later.
(Read only property)

Feedback, Comments & Corrections

NSMenuMBS.supermenu as NSMenuMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Menus MBS MacBase Plugin 7.2 Yes No No Yes, macOS only No
Function: The parent menu of this menu.
Notes: (Read only property)

Feedback, Comments & Corrections

NSMenuMBS.Title as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Menus MBS MacBase Plugin 7.2 Yes No No Yes, macOS only No
Function: The title of the menu.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSMenuMBS.userInterfaceLayoutDirection as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Menus MBS MacBase Plugin 16.3 Yes No No Yes, macOS only No
Function: Configures the layout direction of menu items in the menu.
Notes:
This property configures the layout direction (a value of type NSUserInterfaceLayoutDirection) of menu items in the menu. If no layout direction is explicitly set for a menu, then the menu defaults to the layout direction specified for the application object. See userInterfaceLayoutDirection in NSApplication Class Reference.

NSUserInterfaceLayoutDirectionLeftToRight = 0
NSUserInterfaceLayoutDirectionRightToLeft = 1

Available in OS X v10.11 and later.
(Read and Write property)

Feedback, Comments & Corrections

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





Links
MBS FileMaker blog