Question about Sheets
Question about Sheets
- Subject: Question about Sheets
- From: Simone Manganelli <email@hidden>
- Date: Fri, 25 Jun 2004 12:14:04 -0700
Do sheets have to be attached to windows in the same nib file, or can
sheets be attached to any window passed to NSApp's
beginSheet:modalForWindow:modalDelegate:didEndSelector:contextInfo:
method? Currently I have an NSWindowController that contains a sheet
in it's nib file, and it's passed a window from some outside source.
What happens is the sheet simply appears on screen in the place where
it's positioned in the nib file, not connected to the parent window
that it's supposed to be attached to. Also, the sheet doesn't move
around on screen when you move the parent window. It doesn't even seem
to actually block the parent window from accepting mouse clicks, which
sheets are supposed to do.
Am I doing something wrong, or is this just a consequence of trying to
attach a sheet from one nib file to a parent window from a different
nib file? Can programatically created sheets be attached to windows
from any nib file?
Any help would be much appreciated.
-- Simone Manganelli
_______________________________________________
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.