• 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: Widgets turning white and never unturning white?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Widgets turning white and never unturning white?
      • From: "Theodore H. Smith" <email@hidden>
References: 
 >Widgets turning white and never unturning white? (From: "Theodore H. Smith" <email@hidden>)

  • Prev by Date: [SOLVED-sort of] Re: NSTokenField ignoring field editor change?
  • Next by Date: Calling an Automator workflow from Cocoa?
  • Previous by thread: Re: Widgets turning white and never unturning white?
  • Next by thread: Re: Widgets turning white and never unturning white?
  • Index(es):
    • Date
    • Thread