Auto-opening a Drawer
Auto-opening a Drawer
- Subject: Auto-opening a Drawer
- From: Charles Jolley <email@hidden>
- Date: Thu, 12 Jul 2001 15:35:25 -0500
Hello Cocoa Afscinandos:
I know this is simple, but I can't seem to get it to work. I have
an NSDrawer attached to a window that I want to have open automatically
when the window is created. I am using NSDocument and the default
NSWindowController instances.
I have tried sending [(NSDrawer instance) open] in
windowControllerDidLoadNib: in NSDocument and awakeFromNib: in
NSDocument. The result is that the NSDrawer thinks it is open, but does
not actually display itself.
Where do I put this call?
TIA,
-Charles