Yes, that was my first attempt (as mentioned in my inital mail). Anyways, setting the focus is not really the problem, it is just that I'd like to see the cursor after the focus has been set, the way it is displayed after the user clicks into the searchfield.
Maximilian Tyrtania http://www.contactking.de > Am 13.03.2015 um 15:50 schrieb Christian Schmitz > <[email protected]>: > > >> Am 13.03.2015 um 14:26 schrieb Maximilian Tyrtania <[email protected]>: >> >> The example already uses an NSSearchFieldControlMBS. Sorry, wasn't clear >> about that. Is there any way to simulate a click onto it? >> > > you can use makeFirstResponder method on NSWindowMBS object for the window to > put focus on the NSVIew for the control. > > Sincerely > Christian > > -- > Read our blog about news on our plugins: > > http://www.mbsplugins.de/ > > _______________________________________________ > Mbsplugins_monkeybreadsoftware.info mailing list > [email protected] > https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
