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                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to