Re: Which tab is selected?
Re: Which tab is selected?
- Subject: Re: Which tab is selected?
- From: The Amazing Llama <email@hidden>
- Date: Tue, 14 Jan 2003 22:56:48 -0800
Take your pick:
NSTabViewItem* tvi = [tabView selectedTabViewItem];
NSString* name = [[tabView selectedTabViewItem] label];
int index = [tabView indexOfTabViewItem:[tabView selectedTabViewItem]]
On Tuesday, January 14, 2003, at 10:04 PM, Arthur VIGAN wrote:
Hi,
is it possible to know which tab is curretly displayed (the name or
the index) in a tab view?
Thanks in advance,
Arthur
_______________________________________________
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.
Seth A. Roby The Amazing Llama < mail or AIM me at tallama at mac dot
com>
"Life is like an exploded clown. It's really funny until you figure out
what just happened."
_______________________________________________
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.