On Mar 14, 2008, at 5:16 PM, Hans van der Meer wrote:
I thought to implement an open panel on my main window and expected
it to wait for the dismissal of the sheet. It seems that actually
the events are out of the inendedorder. What is wrong with the
following code? Why didn't it wait for
If it waited for the sheet to close, then the rest of your application
would hang with the beach ball. Most of your program runs in a single
thread. If your method does not terminate, very little else in your
application will work. Just because you're modal for one window
doesn't mean you want the
I thought to implement an open panel on my main window and expected it
to wait for the dismissal of the sheet. It seems that actually the
events are out of the inendedorder. What is wrong with the following
code? Why didn't it wait for the sheet being closed?
// Put up the sheet for and ret