Re: CustomView and nib file
Re: CustomView and nib file
- Subject: Re: CustomView and nib file
- From: Jacques <email@hidden>
- Date: Mon, 29 Sep 2003 23:35:48 +0200
Le lundi 29 septembre 2003, Amul Goswamy disait :
>
That outlet is now a pointer to your custom view, you can now pass that
>
pointer when you call setContentView: on your NSWindow.
Wonderful, it's works :-)
I saw the MultiNibTabView a sample code of that.
I have another problem and I saw nothing in NSView or NSWindow to help
me.
My application is a window, with a four NSTabview.
For the first 3 tabs the controls are in MainNib. For the 4th I have
only a popup menu. Depending the value of this menu I load a different
nib file.
But, after loading and displaying one of this nib file, if I use the
first tab, there is on my window the loaded controls AND the controls
for the first tab.
How can I "erase" the "old" controls ? Is it possible or must I make a
nib file for each tab with something like that ?
Tab 1 -> nib file 1
Tab 2 -> nib file 2
Tab 3 -> nib file 3
Tab 4 -> nib file 4 with my popup menu
item 1 -> nib menu 1
item 2 -> nib menu 2
....
Thanks again for your help.
Jacques
--
LANGUE : organe sexuel dont certains diginiris se servent pour parler.
P. Desproges
_______________________________________________
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.