Platforms to show: All Mac Windows Linux Cross-Platform

Back to PopupMenu class.

PopupMenu.NSButtonMBS as NSButtonMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacControls Plugin 9.7 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Creates a NSButtonMBS object for the given control.
Example
MsgBox PopupMenu1.NSButtonMBS.className

This way you can manipulate Cocoa controls directly.

Some examples using this method:

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


The biggest plugin in space...