open Drawer on startup
open Drawer on startup
- Subject: open Drawer on startup
- From: Jake <email@hidden>
- Date: Sat, 1 Dec 2001 05:03:16 -0500 (EST)
okay, now I am trying to open keep the drawer open as default once the
window becomes loaded. so in my window controller i did:
- (void)windowDidLoad
{
NSLog("before @%d", [myDrawer state]);
[myDrawer open];
NSLog("after @%d", [myDrawer state]);
[[self window] update];
}
while the program gracefully returned
before 0
after 1
the drawer doesn't appear. I installed a toggle button for the same
drawer, and from it's behavior, first click yields nothing, second click
opens drawer, it appears that the drawer is indeed "open". so what am i
missing here?
Thanks. Jake