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: Erik Buck <email@hidden>
- Date: Thu, 14 Jul 2005 07:00:06 -0700 (PDT)
You seem to have missed the whole point of sheets. Sheets are window modal but not application modal. If your program flow could not continue until the sheet was dismissed, nothing else could get done in the application until the sheet was dismissed.
The whole point of the didEndSelector: argument to -beginSheetForDirectory:file:modalForWindow:modalDelegate:didEndSelector:contextInfo: is to provide a selector that will be called when the sheet is closed. Whatever you want to do after the sheet is closed, do it in the method that handles the message identified by the selector you specify.
Note that while a sheet is visible, the window the sheet is attached to will not receive most events. The events are consumed by the sheet. This is what is meant by window modal.
_______________________________________________
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