• 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: Special requirements for the window param of NSAlert beginSheetModalForWindow?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Special requirements for the window param of NSAlert beginSheetModalForWindow?


  • Subject: Re: Special requirements for the window param of NSAlert beginSheetModalForWindow?
  • From: "Sean McBride" <email@hidden>
  • Date: Tue, 12 May 2009 15:13:36 -0400
  • Organization: Rogue Research Inc.

On 5/12/09 9:49 AM, Greg Guerin said:

>> I ask because sometimes the alert is not displayed as a sheet on that
>> window but instead it's floating on its own, attached to no other
>> window.
>
>I have seen this "detached sheet" behavior when the parent window
>already had a sheet open. Make sure there's not already another sheet
>on the window.  And ensure no other subsequent sheet attaches to the
>window until the first sheet is dismissed.

Greg,

Thanks for this suggestion.  Turns out in my case the problem was that I
was trying to display the sheet during the parent window's windowDidLoad
which is apparently too early.

Cheers,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Special requirements for the window param of NSAlert beginSheetModalForWindow? (From: Greg Guerin <email@hidden>)

  • Prev by Date: Re: [iPhone] Getting an UIImageView to display under a UITableView
  • Next by Date: Re: beginner's question: having problems with saving/loading
  • Previous by thread: Re: Special requirements for the window param of NSAlert beginSheetModalForWindow?
  • Next by thread: Re: Re: Special requirements for the window param of NSAlert beginSheetModalForWindow?
  • Index(es):
    • Date
    • Thread