• 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
Sheet on new document?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sheet on new document?


  • Subject: Sheet on new document?
  • From: Jeff LaMarche <email@hidden>
  • Date: Tue, 4 Nov 2003 20:52:42 -0500

Using the "Document-Based App" template, I want to show a sheet as soon as a new document is created and its window is shown in order to solicit some required information. Using NSApp beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo: in either awakeFromNib or windowControllerDidLoadNib:, the window hasn't been shown, so the sheet ends up floating as a window behind the main window.

Is there a delegate or notification method where it would be appropriate to do this?

TIA
Jeff
_______________________________________________
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: obj-c newb question
  • Next by Date: Re: Help with Undo and MVC
  • Previous by thread: Locating HTTP and HTTPS examples?
  • Next by thread: Re: Sheet on new document?
  • Index(es):
    • Date
    • Thread