MBS Xojo Developer Conference and Training
Join us from 3rd to 6th May 2017 in Berlin, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

CustomNSSearchFieldMBS class

Super class: NSSearchFieldMBS

class, Cocoa Controls, MBS CocoaControls Plugin (CustomNSSearchField), class CustomNSSearchFieldMBS,
Plugin version: 12.4, Mac: Yes, Win: No, Linux: No, Console & Web: Yes, Feedback.

Function: The class for a custom searchfield.
Notes:
Some events will not fire as Searchfield eats them itself.
Subclass of the NSSearchFieldMBS class.

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




Links
MBS Xojo Plugins