Platforms to show: All Mac Windows Linux Cross-Platform
NSSearchFieldControlMBS control
See also desktop control: DesktopNSSearchFieldControlMBS
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 NSSearchField 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)
- 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)
- property View as NSSearchFieldMBS
Some examples using this control:
- /MacCocoa/NSSearchField control with menu
- /MacControls/Cocoa Controls
- /MacControls/Search Field/NSSearchField control
- /MacControls/Search Field/NSSearchFieldControl test
- /MacFrameworks/Cocoa Controls/Cocoa Controls
Blog Entries
- MonkeyBread Software Releases the MBS Xojo Plugins in version 24.0
- MBS Xojo Plugins, version 23.6pr1
- MBS Xojo Plugins, version 23.2pr1
- News from the MBS Xojo Plugins in version 21.5
- New desktop controls
- MBS Xojo Plugins, version 21.5pr1
- MBS Xojo / Real Studio Plugins, version 15.0pr8
- MBS Xojo / Real Studio Plugins, version 14.0pr2
- MBS Xojo / Real Studio Plugins, version 13.5pr10
- MBS Xojo / Real Studio Plugins, version 13.4pr7
Release notes
- Version 24.0
- Improved NSSearchFieldControlMBS to scroll horizontally.
- Version 23.2
- Fixed LostFocus event in NSSearchFieldControlMBS control to not fire too early.
- Version 21.5
- Fixed NSSearchFieldControlMBS class to fire KeyDown/KeyUp events for return/enter keys, too.
The items on this page are in the following plugins: MBS MacCocoa Plugin.
NSPopUpButtonControlMBS - NSSecureTextFieldControlMBS