Re: Sheet from another nib
Re: Sheet from another nib
- Subject: Re: Sheet from another nib
- From: Gregory Weston <email@hidden>
- Date: Tue, 25 Dec 2001 07:57:04 -0500
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