Skip navigation.
 
mlNSWindows/NSPanels/NSDrawers are NIL
FROM : San Saeteurn
DATE : Mon Jul 10 20:30:29 2006

Hi,

I am trying to open an NSPanel using makeKeyAndOrderFront: but the window
won't open.  I do this at runtime when the user clicks a button.

When I jumped into the debugger, the value for the NSPanel was nil.  After
reading a post on this mailing list about another person experiencing a
similar problem except their panel opens in awakeFromNib: while mine
doesn't.  theya re using an existing NIB while I am creating mine.

OK, I have several panels and drawers (6 to be exact).  Prior to this panel
failing to be initialized, the others initialized and opened just fine.  In
an attempt to work around this issue, instead of using a panel, I tried a
drawer.  But that was not initialized either when i tried it.  then a
standard window, but that failed.

To sum up the problem:
I have several panels and drawers, but any new panels/drawers/or windows I
add gets initialized to NIL.  The old ones work fine.  Any ideas?

-San Saeteurn

Related mailsAuthorDate
mlNSWindows/NSPanels/NSDrawers are NIL San Saeteurn Jul 10, 20:30
mlRe: NSWindows/NSPanels/NSDrawers are NIL I. Savant Jul 10, 20:34
mlRe: NSWindows/NSPanels/NSDrawers are NIL San Saeteurn Jul 10, 21:04
mlRe: NSWindows/NSPanels/NSDrawers are NIL I. Savant Jul 10, 21:11
mlRe: NSWindows/NSPanels/NSDrawers are NIL San Saeteurn Jul 10, 21:18
mlRe: NSWindows/NSPanels/NSDrawers are NIL I. Savant Jul 10, 21:29
mlRe: NSWindows/NSPanels/NSDrawers are NIL San Saeteurn Jul 10, 22:03
mlRe: NSWindows/NSPanels/NSDrawers are NIL San Saeteurn Jul 10, 22:48
mlRe: NSWindows/NSPanels/NSDrawers are NIL I. Savant Jul 10, 22:52
mlRe: NSWindows/NSPanels/NSDrawers are NIL San Saeteurn Jul 10, 23:46