Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

CustomNSSearchFieldMBS class

Super class: NSSearchFieldMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Cocoa Controls MBS CocoaControls Plugin 12.4 Yes No No Yes, macOS only No
Function: The class for a custom searchfield.
Some events will not fire as Searchfield eats them itself.
Subclass of the NSSearchFieldMBS class.

Feedback, Comments & Corrections

Super class NSSearchFieldMBS

Search menu template constants

Constant Value Description
NSSearchFieldClearRecentsMenuItemTag 1002 Identifies the menu item for clearing the current set of recent string searches in the menu.
This item is hidden if there are no recent strings.
NSSearchFieldNoRecentsMenuItemTag 1003 Identifies the menu item that describes a lack of recent search strings (for example, "No recent searches").
This item is hidden if there have been recent searches.
NSSearchFieldRecentsMenuItemTag 1001 Identifies where recent search strings should appear in the "recents" menu group.
NSSearchFieldRecentsTitleMenuItemTag 1000 Identifies the menu item that is the title of the menu group for recent search strings.
This item is hidden if there are no recent strings.
You may use this tagged item for separator characters that also do not appear if there are no recent strings to display.

Super class NSTextFieldMBS

Super class NSControlMBS

Super class NSViewMBS

Window Order Constants

Constant Value Description
NSWindowAbove 1 Moves the window above the indicated window.
NSWindowBelow -1 Moves the window below the indicated window.
NSWindowOut 0 Moves the window off the screen.

Super class NSResponderMBS

This class has no sub classes.

Some examples which use this class:

The items on this page are in the following plugins: MBS Cocoa Plugin, MBS CocoaBase Plugin, MBS CocoaControls Plugin.

CustomNSScrollerMBS   -   CustomNSSharingServiceMBS

MBS Xojo Plugins