On Thu, Jan 17, 2013, at 12:07 PM, Tamas Nagy wrote:
> Well, I came up with a solution. I subclassed NSTextfield with
> 
> -(void)viewDidMoveToWindow {
>     
>     [self selectText:self];
> }
> 
> and no it works as expected. When the menu pops out, the focus is on the
> textfield.

Glad it works, but don't forget to call super here.

Also, please file a bug asking for a true view-based menu implementation
so that such user interfaces are more reliable in future operating
systems. Without bugs, the Apple folks can't know who's trying to push
the system in certain directions.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to