Re: Changing color of NSTabViewItem
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.