Platforms to show: All Mac Windows Linux Cross-Platform

CocoaControlMBS control   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
control Cocoa MBS MacFrameworks Plugin 8.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
This item is deprecated and should no longer be used.
The control to embed NSViews into a Xojo window.

Due the way Cocoa event handling works, the keydown event handler (and others) do not work with this control. To actually get an event, you'd have to use a subclass of CustomNSViewMBS and handle events there. In the CustomNSViewMBS you add the actual view you like to have. So all events not handled by this view, fall through to your CustomNSViewMBS.
On Carbon the RS framework intercepts events and calls keydown event.
Requires the window being composite for Carbon targets which is currently not available for modal windows in Xojo.

Some examples using this control:

Blog Entries

Xojo Developer Magazine

Release notes


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


ButtonMBS   -   CustomControlMBS


The biggest plugin in space...