Re: Changing text color for NSTableView
Re: Changing text color for NSTableView
- Subject: Re: Changing text color for NSTableView
- From: j o a r <email@hidden>
- Date: Mon, 18 Nov 2002 13:14:51 +0100
Implement the "willDisplayCell" delegate method and set colored string
to the cell using "setAttributedStringValue". Look in the documentation
for NSCell where there is sample code for creating the attributed
string with color.
j o a r
On Monday, Nov 18, 2002, at 12:07 Europe/Stockholm, Peter wrote:
I have been looking around archives for changing text color for
display in a NSTableView but did not find one. Currently I am using
NSString for display (plain black), I like to turn into red or green
for highlighting purpose.
_______________________________________________
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.