Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSSearchFieldCellMBS class.

NSSearchFieldCellMBS.Constructor(image as NSImageMBS)   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacCocoa Plugin 22.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The private constructor not to use.

See also:

NSSearchFieldCellMBS.Constructor(text as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacCocoa Plugin 22.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The constructor.

See also:

NSSearchFieldCellMBS.recentSearches as String()

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacCocoa Plugin 22.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
An array of the recent search strings to display in the pop-up icon menu of the search field.

This property contains an array of string objects, each of which contains a search string either displayed in the search menu or from a recent autosave archive. If there have been no recent searches and no prior searches saved under an autosave name, this array may be empty. When loading your interface, you might set the value of this property to a set of saved search strings.

NSSearchFieldCellMBS.resetCancelButtonCell

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacCocoa Plugin 22.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Resets the cancel button cell to its default attributes.

This method resets the target, action, regular image, and pressed image for the cancel button cell. By default, when users click the cancel button, the delete: action message is sent up the responder chain to the first NSText object that can handle it. This method gives you a way to customize the cancel button for specific situations and then reset the button defaults without having to undo changes individually.

NSSearchFieldCellMBS.resetSearchButtonCell

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacCocoa Plugin 22.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Resets the search button cell to its default attributes.

This method resets the target, action, regular image, and pressed image for the search button cell. By default, when users click the search button or press the Return key, the action defined for the receiver is sent to its designated target. This method gives you a way to customize the search button for specific situations and then reset the button defaults without having to undo changes individually.

NSSearchFieldCellMBS.setRecentSearches(RecentSearches() as String = nil)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Controls MBS MacCocoa Plugin 22.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
An array of the recent search strings to display in the pop-up icon menu of the search field.

This property contains an array of string objects, each of which contains a search string either displayed in the search menu or from a recent autosave archive. If there have been no recent searches and no prior searches saved under an autosave name, this array may be empty. When loading your interface, you might set the value of this property to a set of saved search strings.

The items on this page are in the following plugins: MBS MacCocoa Plugin.


The biggest plugin in space...