The Xojo docs says the SearchField control is for macOS10.12 and higher.
If this is using the NSSearchField, it should be compatible with 10.3 and higher.
Why is the SearchField only for macOS 10.12 and higher?
And what happens when it is run on an older macOS version? Will the app crash?
We don’t support older versions of macOS and there have been other framework changes that will require newer versions, so yes, your app will probably crash.
Basically the problem is that supporting older versions prevents us from supporting newer ones, so we have to choose. Never mind the fact that 10.3.x system requirements included:
Models with a PowerPC G3, G4, or G5 processor (233 MHz minimum)
I inderstand. But I need to keep support for at least macOS 10.10 which outrules using the Searchfield.
I am using the NSSearchFieldMBS and that works fine with 10.10
I was planning to switch to the Xojo Searchfield but that will not work, so it seems.
I did figure out which API call it was that was causing the Xojo Search field to not work with older versions of the Mac OS, but then I swapped to using my own NSSearchField and forgot all about it.
Anyhow, the latest Xojo can build for macOS 10.10 but it cannot use its own SearchField for those macOS versions. That’s not good imo
I suggest Xojo would use NSSearchField instead. That fixes two things: It will run on macOS 10.10 and it would be native too.
IIRC all it needs is the API that requires 10.13 be wrapped in [NSObject respondsToSelector:].
I don’t have a machine left that can run an older version of the macOS anymore, so I can’t test it at the moment. We could log a Feedback case, but I don’t suppose many people care enough and those like you and I, will use an alternative.