Skip navigation.
 
mlRe: Changing text color for NSTableView
FROM : j o a r
DATE : Mon Nov 18 13:14:51 2002

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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlChanging text color for NSTableView Peter Nov 18, 12:07
mlRe: Changing text color for NSTableView j o a r Nov 18, 13:14
mlRe: Changing text color for NSTableView Joseph Jones Nov 18, 17:56
mlRe: Changing text color for NSTableView Ondra Cada Nov 18, 19:28
mlRe: Changing text color for NSTableView Peter Nov 19, 07:49
mlRe: Changing text color for NSTableView Ondra Cada Nov 19, 14:21