• 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: Nested sheets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nested sheets


  • Subject: Re: Nested sheets
  • From: Bill Cheeseman <email@hidden>
  • Date: Thu, 31 Mar 2005 17:39:51 -0500

on 2005-03-31 12:31 PM, Matt Neuburg at email@hidden wrote:

> I'm surprised that you've gotten nested sheets to work, because I've
> experimented with it and had trouble, esp. (IIRC) if the user moves the
> window while the sheets are showing.

I had that problem when trying to do unusual things with Cocoa drawers a
couple of years ago, but I think they've cleaned up this part of the
framework since then.

I just tried moving my nested sheet window to see what happens -- no
problem.

At one point several days ago I did end up with a sheet and no window
(weird!), but that's only because I had called "sheet close" in the wrong
method. That's the hardest part of nested sheets -- you really have to keep
yourself focused on which sheet is which when you're writing all those
sheetDidEnd methods. Coming back to uncommented code a couple of days later
is difficult.

--

Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com

PreFab Software - http://www.prefab.com/scripting.html
The AppleScript Sourcebook - http://www.AppleScriptSourcebook.com
Vermont Recipes - http://www.stepwise.com/Articles/VermontRecipes


 _______________________________________________
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

References: 
 >Re: Nested sheets (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Nested sheets
  • Next by Date: Re: Cocoa Style Question
  • Previous by thread: Re: Nested sheets
  • Next by thread: Queue of NSStrings
  • Index(es):
    • Date
    • Thread