• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Which tab is selected?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
References: 
 >Which tab is selected? (From: Arthur VIGAN <email@hidden>)

  • Prev by Date: Re: Which tab is selected?
  • Next by Date: Re: Apple and Cocoa (why don't they eat their own dog food?)
  • Previous by thread: Re: Which tab is selected?
  • Next by thread: Re: cocoa-dev digest, Vol 2 #1797 - 16 msgs
  • Index(es):
    • Date
    • Thread