Platforms to show: All Mac Windows Linux Cross-Platform
NSTextFieldControlMBS control
See also desktop control: DesktopNSTextFieldControlMBS
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 NSTextField 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.
- 26 events
- event Action
- 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 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 willShowContextualMenu(menu as NSMenuMBS, NSEvent as NSEventMBS) New in 24.1
- property View as NSTextFieldMBS
Some examples using this control:
Blog Entries
- MBS Xojo Plugins, version 23.2pr1
- News from the MBS Xojo Plugins in version 21.5
- New desktop controls
- MBS Xojo / Real Studio Plugins, version 14.0pr2
- MBS Xojo / Real Studio Plugins, version 13.4pr7
Release notes
- Version 23.2
- Fixed LostFocus event for NSTextFieldControlMBS control.
The items on this page are in the following plugins: MBS MacCocoa Plugin.
NSTableControlMBS - NSTextViewControlMBS