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 |
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 |
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 |
(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 |
(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 |
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.