• 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
Re: Showing a sheet right after a file was loaded
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Showing a sheet right after a file was loaded


  • Subject: Re: Showing a sheet right after a file was loaded
  • From: "John C. Randolph" <email@hidden>
  • Date: Fri, 27 Jan 2006 13:45:38 -0800


On Jan 27, 2006, at 1:24 PM, Bert Torfs wrote:

Right after a document is read from a file, I want to show the user a sheet. I called the sheet-sequence as the last statement of the documents windowControllerDidLoadNib method. However, this opens the sheet detached from the document window (in the middle of nowhere so to speak) and the sheet does not close when 'Ok' is pressed - its close handler is called though.
Any idea on where I should call the open-the-sheet method.

Send the message with performSelector:afterDelay:, and it will happen the next time through the event loop.


-jcr

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Showing a sheet right after a file was loaded (From: Bert Torfs <email@hidden>)

  • Prev by Date: Showing a sheet right after a file was loaded
  • Next by Date: Re: BEEP protocol
  • Previous by thread: Showing a sheet right after a file was loaded
  • Next by thread: "Library" smart group in Core Data
  • Index(es):
    • Date
    • Thread