Re: Special requirements for the window param of NSAlert
Re: Special requirements for the window param of NSAlert
- Subject: Re: Special requirements for the window param of NSAlert
- From: Greg Guerin <email@hidden>
- Date: Wed, 13 May 2009 08:32:27 -0700
Dennis Christopher wrote:
On this subject, I am having difficulty putting up a second modal
sheet (alert) for the same window. I call beginSheetModalForWindow
in the didEnd selector of the first alert, if you follow my
meaning. It seems I get some kind of unexpected behaviour doing
this, including the floating alert case. Or the secondary alert
appearing twice. I guess I dont understand what counts as the first
sheet being dismissed. I would have thought that the didEnd
selector being called was sufficient??
My previous reply was simply an "I've seen that," confirmation, with
the conditions under which I'd seen it. For me, it was caused by a
design flaw that mistakenly tried to present two sheets at once on
the same window. This was fixed at a different level, because it was
clearly a design flaw.
If you're intentionally trying to present two sheets in rapid
succession, I can't tell you how to fix it, other than to suggest
redesigning it so it doesn't do that.
-- GG
_______________________________________________
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