Re: Toggling Visibility for NSPanel
Re: Toggling Visibility for NSPanel
- Subject: Re: Toggling Visibility for NSPanel
- From: Jim Puls <email@hidden>
- Date: Wed, 24 Oct 2007 22:49:30 -0700
On Oct 24, 2007, at 10:29 PM, Jason Barker wrote:
I tried -close which works (but it doesn't show up in the code
completion list). Both -orderOut and -makeKeyAndOrderFront yield the
'selector not recognized' error. Is there something else I can try?
Both of those take a sender argument, that is, [panel
makeKeyAndOrderFront:self];
Check the docs for NSWindow, from which NSPanel inherits all of these
interesting methods.
-> jp
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden