• 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: Changing color of NSTabViewItem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing color of NSTabViewItem


  • Subject: Re: Changing color of NSTabViewItem
  • From: "M. Uli Kusterer" <email@hidden>
  • Date: Fri, 22 Aug 2003 13:30:52 +0200

At 10:31 Uhr +0800 21.08.2003, Anthony Cheung wrote:
NSString *tabLabel;
NSTabViewItem *tabViewItem;

tabLabel = @"testing";
tabViewItem = [myTabView tabViewItemAtIndex:0];
[tabViewItem setLabel:tabLabel];
[tabViewItem setColor:[NSColor redColor]];

I'm no expert on this, but judging from past experiences with Carbon and such stuff, I wouldn't be surprised if changing the color wasn't supported anymore. Most Aqua controls do not let you modify any of their colors, even if the Platinum controls did. So, just maybe, this is just an API call that used to do something on NeXTStep or Rhapsody, but has been stubbed out on OS X in Aqua.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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.
  • Follow-Ups:
    • Re: Changing color of NSTabViewItem
      • From: "Anthony Cheung" <email@hidden>
References: 
 >Changing color of NSTabViewItem (From: "Anthony Cheung" <email@hidden>)

  • Prev by Date: plist parsing failure when using NSKeyedUnachiver
  • Next by Date: Re: limits of objects
  • Previous by thread: Changing color of NSTabViewItem
  • Next by thread: Re: Changing color of NSTabViewItem
  • Index(es):
    • Date
    • Thread