Is there a way to set the count of Search finds in an NSSearchFieldMBS, as shown in a find and replace bar in the image below?
It looks like that’s part of the NSTextFinderMBS control and can’t be set manually with a regular NSSearchFieldMBS.
What a challenge. But I got it done:

to put in the text:
Sub Open() Handles Open
Var n As NSSearchFieldMBS = Me.View
Var c As NSSearchFieldCellMBS = n.cell
var b as NSButtonCellMBS = c.cancelButtonCell
b.title = "22"
b.imagePosition = b.NSImageRight
End Sub
Just like this it seems to work.
if you like to try:
3 Likes
It works - But I forgot to mention I’m using a CocoaControlMBS for a SearchField with a menu. ![]()
Now to get the search part working…
@Christian_Schmitz Thank you, this is a very nice addition
