FROM : Marco Masser
DATE : Sat Jun 21 19:10:43 2008
> I just added a panel to my program. I do not want that the panel
> closes on command-W. I did setBecomesKeyOnlyIfNeeded:YES. So It does
> not close if there is a document window. But if the last one is
> closed (with keyboard: command-W) also the panel closes.
I'm taking a stab in the dark here, but could it be that your panel is
in the same nib file as your document window? If it should be a
document-independent inspector-kind panel you probably should put it
in its own nib file.
Marco
DATE : Sat Jun 21 19:10:43 2008
> I just added a panel to my program. I do not want that the panel
> closes on command-W. I did setBecomesKeyOnlyIfNeeded:YES. So It does
> not close if there is a document window. But if the last one is
> closed (with keyboard: command-W) also the panel closes.
I'm taking a stab in the dark here, but could it be that your panel is
in the same nib file as your document window? If it should be a
document-independent inspector-kind panel you probably should put it
in its own nib file.
Marco






Cocoa mail archive

