Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSPopUpButtonMBS class.

NSPopUpButtonMBS.arrowPosition as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 14.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The position of the arrow displayed.

If you specify NSPopUpNoArrow, the receiver displays no arrow. NSPopUpArrowAtCenter displays the arrow centered horizontally within the cell. NSPopUpArrowAtBottom displays the arrow at the edge of the cell. This method works with setPreferredEdge: to determine the exact location and orientation of the arrow. For more information, see setPreferredEdge:.

This method is ignored unless the receiver is a pull-down list with a beveled border.
(Read and Write property)

NSPopUpButtonMBS.autoenablesItems as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Whether the receiver automatically enables and disables its items every time a user event occurs.

true if the receiver automatically enables and disables items; otherwise, false. The default value is true.
(Read and Write property)

NSPopUpButtonMBS.menu as NSMenuMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the pop-up button's associated menu.

(Read and Write property)

NSPopUpButtonMBS.numberOfItems as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the number of items in the menu.

(Read only property)

NSPopUpButtonMBS.pullsDown as boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Cocoa Controls MBS MacControls Plugin 10.0 ✅ Yes ❌ No ❌ No ❌ No Desktop only
A Boolean value indicating the behavior of the control's menu.

True if the menu behaves like a pull-down menu; otherwise, false if it behaves like a pop-up menu.
(Read and Write property)

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


The biggest plugin in space...