Platforms to show: All Mac Windows Linux Cross-Platform
DesktopNSTextViewControlMBS control
See also classic control: NSTextViewControlMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| control | Cocoa Controls | MBS MacCocoa Plugin | 21.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This control embeds a special NSTextView subclass.
Designed for Xojo 2021r3 and newer.
Please use view property to access the underlaying object and set properties.
- 25 events
- event BoundsChanged
- event clickedOnLink(Link as Variant, charIndex as Integer) as Boolean
- event Closing
- event ConstructContextualMenu(base as DesktopMenuItem, x as Integer, y as Integer) As Boolean
- event ContextualMenuItemSelected(selectedItem As DesktopMenuItem) As Boolean
- event didCloseContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- event FocusLost
- event FocusReceived
- event FrameChanged
- 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 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 textViewWritingToolsDidEnd
- event textViewWritingToolsWillBegin
- event willShowContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- 3 properties
- property AcceptTabs as Boolean
- property Scrollview as Variant
- property View as NSTextViewMBS
Blog Entries
- News from the MBS Xojo Plugins in version 24.5
- Using writing tools in Xojo for Apple Intelligence
- MBS Xojo Plugins, version 24.5pr4
- 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
Release notes
- Version 24.5
- Added clickedOnLink event for NSTextViewControlMBS control.
- Added textViewWritingToolsWillBegin and textViewWritingToolsDidEnd events for NSTextViewControlMBS control.
The items on this page are in the following plugins: MBS MacCocoa Plugin.
DesktopNSTextFieldControlMBS - DesktopNSTokenFieldControlMBS