On Feb 12, 2013, at 8:01 AM, Christian Schmitz <[email protected]> 
wrote:

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

Yes.

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

Sent. Thanks for your help.
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to