On Feb 11, 2013, at 3:52 PM, Gavin Smith <[email protected]> wrote: > On Feb 11, 2013, at 3:13 PM, Christian Schmitz > <[email protected]> wrote: > >> >> Am 11.02.2013 um 15:58 schrieb Gavin Smith <[email protected]>: >> >>> Is it possible to create an NSStatusItemMBS menu that has a textfield or >>> even an NSSearchField as the menu "title"? >> >> >> Did you try? >> >> You can set a view to be the status item view, but no idea if this one can >> have focus. > > Yes, that's the problem, it can't get focus. So I guess this isn't possible.
So, I have settled for an NSSearchField as an item in the menu. This works fine the first time the menu is clicked - I can click the search field and it receives firstresponder and I can edit the field. But if I choose another menu item or change to a different app, I can no longer make the search field get the focus, it's just grayed out. I don't know if this is a plugin problem or a Cocoa problem. Any ideas how I can force the search field to take focus again? Gavin PS If this is not the correct place for these sorts of questions, please tell me _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
