Re: Trouble with sheets...
Re: Trouble with sheets...
- Subject: Re: Trouble with sheets...
- From: Sherm Pendley <email@hidden>
- Date: Sat, 17 Jun 2006 20:20:05 -0400
On Jun 17, 2006, at 8:06 PM, Bruce Beerbower wrote:
I'm having trouble trying to display a panel as a sheet. I'v read
through the Cocoa documentation and a book I have (Cocoa In A
Nutshell) on this subject and this is (more or less) the code I have:
One of these things is not like the others...
@interface SheetController : NSObject
{
IBOutlet NSPanel *thePanel;
the Panel
- (IBAction)openSheet:(id)sender
{
[NSApp beginSheet:thePanel
thePanel
- (IBAction)closeSheet(id)sender
{
[NSApp endSheet:addPanel];
addPanel
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden