Re: Modal panel and -initialFirstResponder

2011-07-20 Thread Vincent Habchi
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

Re: Modal panel and -initialFirstResponder

2011-07-20 Thread Quincey Morris
On Jul 19, 2011, at 23:28, Vincent wrote: > More specifically, I have a NSPanel, with some NSTextField inside, and would > like the editing to begin immediately in the first text field when the panel > appears. I thus set the initialFirstResponder outlet to the field I’d like > the edition to s

Modal panel and -initialFirstResponder

2011-07-19 Thread Vincent
Hi again, I’m puzzled by what I think is a very basic Cocoa feature that still escapes my knowledge (and I found nothing really meaningful about it). More specifically, I have a NSPanel, with some NSTextField inside, and would like the editing to begin immediately in the first text field when th