• 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
Open A Sheet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Calling AppleScript Methods from Obj-C
  • Next by Date: NSCopyBits and expose events
  • Previous by thread: Re: Cocoa Programming...
  • Next by thread: Re: Open A Sheet
  • Index(es):
    • Date
    • Thread