• 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: Question about Sheets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Question about Sheets


  • Subject: Re: Question about Sheets
  • From: Simone Manganelli <email@hidden>
  • Date: Fri, 25 Jun 2004 13:53:56 -0700

Dan and joar --

I figured out the problem -- I was having some problems before so I had been ordering the sheet to the front before attempting to call it as a sheet, so the sheet was already visible which is why it didn't attach. Once I stopped ordering the sheet forward manually, the sheet attaches normally to the requested window.

Thanks for your help and pointing me in the right direction.

-- Simone Manganelli

On Jun 25, 2004, at 12:36 PM, Dan Bernstein wrote:

It sounds as if you're not passing the correct window in
modalForWindow:. Assuming you know that's where you're supposed to
pass the window you want to attach the sheet to, I suspect maybe you
lost your window when you loaded the nib (if you made yourself owner
of the nib). Put a breakpoint or an NSLog there right before calling
beginSheet: and check what you're really passing to that method.
_______________________________________________
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.


References: 
 >Question about Sheets (From: Simone Manganelli <email@hidden>)

  • Prev by Date: Re: Dynamic User Interface with Cocoa
  • Next by Date: Re: Custom View usage in Interface Builder
  • Previous by thread: Re: Question about Sheets
  • Next by thread: Delaying a drag event
  • Index(es):
    • Date
    • Thread