Platforms to show: All Mac Windows Linux Cross-Platform
NSTokenFieldControlMBS control
See also desktop control: DesktopNSTokenFieldControlMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
control | Cocoa Controls | MBS MacControls Plugin | 15.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
- 38 events
- event BoundsChanged
- event Close
- event Closing
- event completionsForSubstring(substring as string, tokenIndex as Integer, byref selectedIndex as Integer) as Variant()
- 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)
- event displayStringForRepresentedObject(representedObject as Variant) as string
- event editingStringForRepresentedObject(representedObject as Variant) as string
- event EnableMenuItems
- event FocusLost
- event FocusReceived
- event FrameChanged
- event GotFocus
- event hasMenuForRepresentedObject(representedObject as Variant) as boolean
- event LostFocus
- event MenuBarSelected
- event menuForRepresentedObject(representedObject as Variant) as NSMenuMBS
- 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 readFromPasteboard(pboard as NSPasteboardMBS) as Variant()
- event representedObjectForEditingString(editingString as string) as Variant
- event ScaleFactorChanged(NewFactor as Double)
- event shouldAddObjects(tokens() as Variant, index as Integer) as Variant()
- event styleForRepresentedObject(representedObject as Variant) as Integer
- event TextDidBeginEditing(fieldEditor as NSTextMBS, notification as NSNotificationMBS)
- event TextDidChange(fieldEditor as NSTextMBS, notification as NSNotificationMBS)
- event TextDidEndEditing(fieldEditor as NSTextMBS, notification as NSNotificationMBS)
- event textShouldBeginEditing(fieldEditor as NSTextMBS) as boolean
- event textShouldEndEditing(fieldEditor as NSTextMBS) as boolean
- event tokenFieldAction
- event tokenFieldTextShouldBeginEditing(fieldEditor as NSTextMBS) as boolean
- event tokenFieldTextShouldEndEditing(fieldEditor as NSTextMBS) as boolean
- event willShowContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS)
- event writeRepresentedObjects(objects() as Variant, pboard as NSPasteboardMBS) as boolean
- property View as NSTokenFieldMBS
Some examples using this control:
Blog Entries
- MBS Xojo Plugins, version 24.1pr5
- News from the MBS Xojo Plugins in version 21.5
- New desktop controls
- MBS Xojo Plugins, version 21.4pr1
- MBS Xojo Plugins, version 21.1pr2
Release notes
- Version 24.1
- Improved NSTokenFieldControlMBS by to work better with our custom cell class.
- Version 21.4
- Fixed NSTokenFieldControlMBS control to fire keyDown event for w key.
- Version 21.1
- Fixed a crash in IDE on Big Sur with NSTokenFieldControlMBS on the layout.
The items on this page are in the following plugins: MBS MacControls Plugin.
NSTextViewControlMBS - NSViewControlMBS