Platforms to show: All Mac Windows Linux Cross-Platform
Back to Control class.
Control.NSViewMBS as NSViewMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Cocoa Controls | MBS MacBase Plugin | 9.7 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This way you can manipulate Cocoa controls directly.
For a pushbutton you may want to cast the NSViewMBS to NSButtonMBS to have more options.
Some examples using this method:
- /MacCocoa/Slide Views Animation
- /MacControls/Custom NSView Drag
- /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Hierarchical & Flat/ListBoxTV OutlineView
- /MacControls/NSButton
- /MacControls/NSPathControl
- /MacControls/TokenField/TokenField with data class
- /MacControls/Use Scrollview with ContainerControl
- /MacFrameworks/Cocoa Controls/NSSearchfield with event
- /MacFrameworks/Cocoa Controls/TextView with events
- /MacFrameworks/QuickLook/QLPreviewView
The items on this page are in the following plugins: MBS MacBase Plugin.