Open A Sheet
Open A Sheet
- Subject: Open A Sheet
- From: Martin Weil <email@hidden>
- Date: Sun, 30 Jun 2002 11:25:22 +0200
Hi List!
I tried to open a new sheet with:
[NSApp beginSheet:loeschenSheet modalForWindow:mainWindow modalDelegate:self
didEndSelector:NULL contextInfo:nil];
It worked perfectly.
Then I tried to send an Action from another class to my sheetController,
which should then open the sheet, but this is what I got:
2002-06-29 21:11:24.287 MyApp[6870] *** Assertion failure in -[NSApplication
_commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelec
tor:contextInfo:], NSApplication.m:2306 2002-06-29 21:11:24.299 MyApp[6870]
Modal session requires modal window
Tried performing another action, and it worked, just not with this.
Hope this makes sense. *g*
Regards,
Martin
--
http://www.mweil.net
_______________________________________________
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.