Platforms to show: All Mac Windows Linux Cross-Platform

NSButtonMBS class

Super class: NSControlMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa Controls MBS MacControls Plugin 7.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The Cocoa class for a button control.

Subclass of the NSControlMBS class.

Super class NSControlMBS

Super class NSViewMBS

Window Order Constants

Constant Value Description
NSWindowAbove 1 Moves the window above the indicated window.
NSWindowBelow -1 Moves the window below the indicated window.
NSWindowOut 0 Moves the window off the screen.

Super class NSResponderMBS

Sub classes:

Some methods using this class:

Some properties using for this class:

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes

  • Version 22.5
    • Added hasDestructiveAction property for NSButtonMBS class.

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


NSButtonCellMBS   -   NSCachedURLResponseMBS


💬 Ask a question or report a problem
The biggest plugin in space...