• 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
Re: Sheets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Re: Sheets
  • Next by Date: Re: Checkboxes in an NSTableView
  • Previous by thread: Re: Sheets
  • Next by thread: Re: smart file management
  • Index(es):
    • Date
    • Thread