Sheets in a doc-based application.
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.