Re: Tab View Delegate
Re: Tab View Delegate
- Subject: Re: Tab View Delegate
- From: "Louis C. Sacha" <email@hidden>
- Date: Tue, 29 Jun 2004 01:57:38 -0700
Hello...
First, you need to make sure that you have made a connection between
the object which implements the delegate method and the tabview in
Interface Builder.
If the delegate outlet of the NSTabView is not connected to your
instance of the Control class (the object where you have this method
implemented) the method will not be called.
Hope that helps,
Louis
Dear List,
I am having problems getting a tab view delegate to work ( at
this point I am not so sure that it is even a delegate I need to
use). The problem is that I have a tab view in a window. Each of the
panels on the view has some stuff that I need to clear whenever a I
change tabs ( its a few text fields that I need to reset). I thought
at first that I just need to use the -(void) tabView: (NSTabView
*)tabview didSelectTabViewItem:(NSTabviewItem *)tabViewItem. But 1-
I could not get this to work, 2- I don't even think it is what I
want.
Below is the code that I have, The delegate for startup works
but not for switching tabs. Thanks for the help!
...
_______________________________________________
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.