Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

NSMenuItemCellMBS.menuItem as NSMenuItemMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 17.1 Yes No No Yes, macOS only No
Function: The menu item object associated with the cell.
Notes: (Read and Write property)

Feedback, Comments & Corrections

NSMenuItemCellMBS.needsDisplay as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 17.1 Yes No No Yes, macOS only No
Function: A Boolean value indicating whether the menu item needs to be displayed.
Notes:
Set this property to true when you want the menu item to be drawn.
(Read and Write property)

Feedback, Comments & Corrections

NSMenuItemCellMBS.needsSizing as Boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 17.1 Yes No No Yes, macOS only No
Function: A Boolean value indicating whether the size of the menu needs to be calculated.
Notes:
When the value of this property is true, the next attempt to obtain size information about the menu cause the calcSize method to be called. When the value of the property is false, the size information is obtained from the currently cached values.
Subclasses that drastically change the way a menu item is drawn can change the value of this property to update the menu item information. Other parts of your application should not need to change this property directly. The cell checks this value of this property as necessary when the content of its menu item changes.
(Read and Write property)

Feedback, Comments & Corrections

NSMenuItemCellMBS.tag as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property Cocoa Controls MBS MacCocoa Plugin 17.1 Yes No No Yes, macOS only No
Function: The integer tag of the selected menu item.
Notes:
If no item is selected, the value in this property is 0.
(Read and Write property)

Feedback, Comments & Corrections

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





Links
MBS Xojo Plugins