Re: Opening drawer by default
Re: Opening drawer by default
- Subject: Re: Opening drawer by default
- From: Yong Lee <email@hidden>
- Date: Sat, 19 Jan 2002 07:55:16 -0800
I tried opening in "awakeFromNib", but the affect is the same.
"awakeFromNib" seems to be called before "windowDidLoad". Its internal
state still thinks it's open when it's not. Any other suggestions?
Thanks for your replay, Richard.
Yong Lee
On Friday, January 18, 2002, at 09:45 PM, Richard Schreyer wrote:
On 1/18/02 8:28 PM, "Yong Lee" <email@hidden> wrote:
I'm trying to have a drawer open by default by sending it "open" method
in "windowDidLoad". When I check the state after the "open" message it
says the drawer is opening. But nothing happens. Visually it's closed,
but the state says it's open. I can toggle it open/close by sending
toggle: message from a button. Is "windowDidLoad" the wrong place for
this? What am I doing wrong?
Your help would be much appreciated.
If your class is being instantiated from a nib file, placing the open
message in -awakeFromNib might work better. See the NSBundle
documentation
(I think...)
Richard Schreyer
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.