Platforms to show: All Mac Windows Linux Cross-Platform
NSTextViewControlMBS control
See also desktop control: DesktopNSTextViewControlMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
control | Cocoa Controls | MBS MacCocoa Plugin | 13.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This control embeds a special NSTextView subclass.
Designed for Xojo 2013r1 and newer. May work on Xojo 2012, but not perfectly.
Please use view property to access the underlaying object and set properties.
- 27 events
- event BoundsChanged
- event Close
- event Closing
- event ConstructContextualMenu(base as MenuItem, x as Integer, y as Integer) as Boolean
- event ContextualMenuAction(hitItem as MenuItem) as Boolean
- event didCloseContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS) New in 24.1
- event EnableMenuItems
- event FocusLost
- event FocusReceived
- event FrameChanged
- event GotFocus
- event LostFocus
- event MenuBarSelected
- event MouseDown(x as Integer, y as Integer, Modifiers as Integer) As Boolean
- event MouseDrag(x as Integer, y as Integer)
- event MouseUp(x as Integer, y as Integer)
- event Open
- event Opening
- event ScaleFactorChanged(NewFactor as Double)
- event shouldChangeTextInRange(affectedCharRange as NSRangeMBS, replacementString as string) as boolean
- event textDidBeginEditing
- event textDidChange
- event textDidEndEditing
- event textShouldBeginEditing as boolean
- event textShouldEndEditing as boolean
- event textViewDidChangeSelection
- event willShowContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS) New in 24.1
- 3 properties
- property AcceptTabs as Boolean
- property Scrollview as Variant
- property View as NSTextViewMBS
Some examples using this control:
Blog Entries
- News from the MBS Xojo Plugins in version 21.5
- New desktop controls
- MBS Xojo / Real Studio Plugins, version 16.5pr6
- MBS Xojo / Real Studio Plugins, version 15.0pr8
- MBS Xojo / Real Studio Plugins, version 13.5pr1
- MBS Xojo / Real Studio Plugins, version 13.4pr7
The items on this page are in the following plugins: MBS MacCocoa Plugin.
NSTextFieldControlMBS - NSTokenFieldControlMBS