• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Interplay of modal dialogs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: iSync code?
  • Next by Date: Re: SplashScreen and RunLoop
  • Previous by thread: Interplay of modal dialogs
  • Next by thread: [SOLVED] Re: Power Builder doesn't launch
  • Index(es):
    • Date
    • Thread