[NSTabView] finding current view
[NSTabView] finding current view
- Subject: [NSTabView] finding current view
- From: Jacques <email@hidden>
- Date: Sat, 27 Dec 2003 23:56:37 +0100
I folks,
I have a problem with my NSTabView. I have 4 tabs. The three first interface
are designed in project builder, and the forth is loaded form an other nib
file.
For each view, I want to change the window title. I need to have the current
NSWindow :
NSWindow *win = [<aControl> window];
to change the title with : [win setTitle:@"my title"]
For the forth view, I can load the nib file, and I would like to use same kind
of code to change the window title :
NSWindow win* = [dateField window]; // dateField is in the second nib file
But win stay null.
How can I acces to my controls ?
Thanks in advance for those who can help me.
Jacques
--
C'est avec le nerfs optique qu'on voit, l'oeil, c'est juste pour regarder.
Brjves de comptoir
_______________________________________________
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.