Am 12.02.2013 um 04:11 schrieb Gavin Smith <[email protected]>:

> 
> 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.

Do you use CustomNSSearchFieldMBS, so you can return true from 
acceptsFirstResponder, acceptFirstMouse, canBecomeKeyView, becomeFirstResponder 
and resignFirstResponder?

> 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?

Probably some cocoa events thing or a property set wrong.

YOu can of course send me a sample project to try it here.

> PS If this is not the correct place for these sorts of questions, please tell 
> me

It's not wrong here.

Greetings
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

Reply via email to