Hi Quincey,

> What does "shows (modally)" mean?

It's a modal panel, displayed though a -[NSApp runModalForWindow:].

> The initial first responder is the view that's *going to be* the first 
> responder, when it's window becomes key. Panels don't become key at the same 
> times as regular windows, so it's possible you need to call 
> 'makeKeyAndOrderFront:' on the panel after showing it. Also, panels can be 
> configured to become key "only when necessary", meaning you need to click on 
> something that accepts first responder status in order to make the window 
> key. You should check the setting of that property, too.

In fact, I found a way out by synthesizing a fake textField click event in the 
-windowDidBecomeKey: delegate method.

But I wonder if there is anything more simple.

Cheers and thanks!
Vincent_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

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

Reply via email to