Re: Sheet from another nib
Re: Sheet from another nib
- Subject: Re: Sheet from another nib
- From: Gideon King <email@hidden>
- Date: Wed, 26 Dec 2001 21:39:56 +0800
Thanks - I had left "Visible at launch time" turned on, and that was
stopping it behaving as a sheet.
On Tuesday, December 25, 2001, at 08:57 PM, Gregory Weston wrote:
On 12/24/01, Gideon King <email@hidden> wrote:
I have been trying to put a sheet on a window where the sheet is in one
nib file and the window is in another, but it doesn't seem to work (it
just comes up as a floating modal panel). It works fine if both are
in a
single nib file. Has anyone successfully put the sheet window in one
nib
and the window they attach it to in a another one?
Certainly. I've got each of my windows in its own nib. I've also
defined a
controller for each window that, when instantiated, grabs the
appropriate nib
file and sets itself up as the owner. I send a message to the
controller when I
want the sheet to display. I'm not on a X machine right now so I can't
show you
code that I know works but it might help if you show or describe how
you're
trying to do things.
G
_______________________________________________
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.