• 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: "Anthony Cheung" <email@hidden>
  • Date: Mon, 25 Aug 2003 09:49:22 +0800

Hi. Mr. Kusterer,

Many thanks for your kind reply.

Regards,

Anthony

----- Original Message -----
From: "M. Uli Kusterer" <email@hidden>
To: "Anthony Cheung" <email@hidden>; "Cocoa Developer"
<email@hidden>
Sent: Friday, August 22, 2003 7:30 PM
Subject: Re: Changing color of NSTabViewItem


> 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.

References: 
 >Changing color of NSTabViewItem (From: "Anthony Cheung" <email@hidden>)
 >Re: Changing color of NSTabViewItem (From: "M. Uli Kusterer" <email@hidden>)

  • Prev by Date: Window properties problem
  • Next by Date: "Borrowing" images from applications with *.rsrc files
  • Previous by thread: Re: Changing color of NSTabViewItem
  • Next by thread: Re: Address book people chooser
  • Index(es):
    • Date
    • Thread