• 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
Sheets in a doc-based application.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sheets in a doc-based application.


  • Subject: Sheets in a doc-based application.
  • From: Kigney <email@hidden>
  • Date: Mon, 18 Feb 2002 12:49:09 -0800 (PST)

I have a document-based application in which it is
very possible that the user may want to have multiple
windows with the same sheet displayed at the same
time.

I'm using:
[NSApp beginSheet:vertexSheet modalForWindow:[NSApp
keyWindow] modalDelegate:self
didEndSelector:@selector(vertexSheetDidEnd:returnCode:contextInfo:)
contextInfo:nil];

to begin the sheet. Unfortunately, because vertexSheet
is already instantiated in a .nib, I guess I can't use
the same sheet for two different windows at the same
time. Is there any way to get around this? How would I
make a copy of an NSPanel instance in my nib file? If
I did, could I the same sheet to different windows at
the same time?

Thanks!
-Josh
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
_______________________________________________
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: Tiff with mask
  • Next by Date: NSAutoReleasePool
  • Previous by thread: Re: Toolbar icons
  • Next by thread: How do you specify the compression amount for an image representation?
  • Index(es):
    • Date
    • Thread