Re: Special requirements for the window param of NSAlert beginSheetModalForWindow?
Re: Special requirements for the window param of NSAlert beginSheetModalForWindow?
- Subject: Re: Special requirements for the window param of NSAlert beginSheetModalForWindow?
- From: Keary Suska <email@hidden>
- Date: Thu, 14 May 2009 08:12:31 -0600
On May 13, 2009, at 9:07 PM, Michael Ash wrote:
3) Use performSelector:withObject:afterDelay: with a 0 delay to run
the code to show the new sheet after the old sheet has truly gone
away. This will result in one sheet being followed by another sheet as
you desire.
I have had success with successive sheet display by calling -orderOut:
or -close: on the sheet before displaying the next. This is also
documented as the proper way to display successive sheets.
On May 13, 2009, at 10:27 PM, Sean McBride wrote:
Your advice is good, to be sure, but you are incorrect about the
above.
In fact, the 'do you want to replace?' question is displayed in a
sheet
that appears on top of the save panel sheet.
Yes, but the docs are clear that stacked or nested sheets are not
supported, and violate HIG. It also doesn't work well if you try to
force it.
Best,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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