Re: Widgets turning white and never unturning white?
Re: Widgets turning white and never unturning white?
- Subject: Re: Widgets turning white and never unturning white?
- From: glenn andreas <email@hidden>
- Date: Thu, 7 Jul 2005 18:17:24 -0500
On Jul 7, 2005, at 4:32 PM, Theodore H. Smith wrote:
I'm trying to get some window saving.
So, I call the very long named
beginSheetForDirectory:file:modalForWindow:modalDelegate:didEndSelecto
r:contextInfo:
and then call runModalForWindow: right after that.
You're not suppose to do that - you're basically making two nested
modals (with the same window) which, as you've seen, is a bad thing
to do (since while the first modal loop is exits, it gets rid of the
window for which the sheet should be run, so it isn't shown, but
can't be dismissed).
Use either sheets (which are document modal) or runModal, but not both.
Glenn Andreas email@hidden
<http://www.gandreas.com/> wicked fun!
Widgetarium | the quickest path to widgets
_______________________________________________
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