Re: Sheets
Re: Sheets
- Subject: Re: Sheets
- From: Matt Jaffa <email@hidden>
- Date: Thu, 26 Feb 2004 17:27:04 -0700
Hey,
it works great thanks, Other solutions might have worked I was doing
something write before the
Sheet so it could of messed up my solution, but this one works, thanks
On Feb 26, 2004, at 5:17 PM, Dustin Voss wrote:
On 26 Feb, 2004, at 2:01 PM, Matt Jaffa wrote:
Hey,
IBOutlet NSPanel *PopUpAdd; <--------- I want this to
be
the sheet to be displayed within the main preference pane, but I
can't
get it to display right, the sheet bcomes attached to the Desktop for
some real weird reason.
Here's how I open a panel in a preference pane:
- (void) openPanel
{
[NSApp beginSheet:panel modalForWindow:[NSApp mainWindow]
modalDelegate:nil didEndSelector:nil contextInfo:nil];
}
- (void)closePanel:(id)sender
{
[panel close];
[NSApp endSheet:panel];
}
_______________________________________________
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.
References: | |
| >Sheets (From: Matt Jaffa <email@hidden>) |
| >Re: Sheets (From: Dustin Voss <email@hidden>) |