Changing color of NSTabViewItem
Changing color of NSTabViewItem
- Subject: Changing color of NSTabViewItem
- From: "Anthony Cheung" <email@hidden>
- Date: Thu, 21 Aug 2003 10:31:39 +0800
Dear all,
I am using a Tab view in my application. I would like to change the color tab
label. I have done the following code but there is no effect. Would anyone
please tell me what i have done wrong
NSString *tabLabel;
NSTabViewItem *tabViewItem;
tabLabel = @"testing";
tabViewItem = [myTabView tabViewItemAtIndex:0];
[tabViewItem setLabel:tabLabel];
[tabViewItem setColor:[NSColor redColor]];
I have "testing" shown as the label of the tab item but the color is no
change.
Many thanks in advance for your help.
Regards,
Anthony Cheung
_______________________________________________
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.