Re: Interplay of modal dialogs
Re: Interplay of modal dialogs
- Subject: Re: Interplay of modal dialogs
- From: matt neuburg <email@hidden>
- Date: Wed, 16 Jul 2003 07:58:30 -0700
On Tue, 15 Jul 2003 14:19:47 -0400, "Bob Swerdlow"
<email@hidden> said:
>
I have a situation where my application shows a modal panel and one of the
>
buttons opens another modal panel. That panel can do some stuff or allow
>
the user to return to the first panel. I know that there can only be one
>
modal panel at a time, so when I show the next panel, I stop the first
one.
>
However, when the user chooses to go back to the first panel and my code
>
stops the second one and redisplays the first one, the display is wrong -
>
only those parts of the window that were obscured are redrawn, and if I
>
force a redraw then the button that was last pushed is still highlighted.
Try starting the second dialog, not directly in the same method that ends
the first dialog, but in a method that you call indirectly using a delay.
m.
--------
matt neuburg, phd = email@hidden,
http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart.
http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.