Re: Question about Sheets
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.