Problem with drawers porting...
Problem with drawers porting...
- Subject: Problem with drawers porting...
- From: Albert Atkinson <email@hidden>
- Date: Wed, 15 May 2002 17:59:40 -0500
Hello!
I have an application that had a drawer that I have changed into a
panel, and I can not for the life of me remember how to change the
code. How would I port the following code to work for displaying
and closing a panel?
----
if ([userlistDrawer state]==NSDrawerClosedState)
[userlistDrawer openOnEdge:NSMaxXEdge];
----and----
if ([userlistDrawer state]==NSDrawerClosedState)
[userlistDrawer openOnEdge:NSMaxXEdge];
else
[userlistDrawer close:self];
----finally----
[userlistDrawer close:self];
----
Thanks for your help!
Albert
_______________________________________________
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.