• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problem with drawers porting...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Is there a tutorial/sample for displaying...
  • Next by Date: Re: Key Equivalents
  • Previous by thread: Re: Key Equivalents
  • Next by thread: Changing the Text Color of an NSMenuItem in an NSPopUpButton?
  • Index(es):
    • Date
    • Thread