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
Function: The control to embed NSViews into a Xojo window.
This item is deprecated and should no longer be used.
Notes:
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 which use this control:

Blog Entries

Xojo Developer Magazine


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


ButtonMBS   -   CustomControlMBS

Feedback: Report problem or ask question.

The biggest plugin in space...


Start Chat