Re: NSTableView
Re: NSTableView
- Subject: Re: NSTableView
- From: Joe Morris <email@hidden>
- Date: Wed, 29 May 2002 05:28:16 -0700 (PDT)
I don't have the code in front of me, but what you need to do is use one of the delegation methods (the one that gets called right before text is drawn in the cell), and check whether whatever you're going to draw in the cell contains your criteria, and then if it does change the font of the cell. I'm sorry, I know this isn't amazingly useful, but I figured better to answer now rather than wait longer till when I think of it and have the code in front of me. I'll still try to get code to you at some point, but maybe someone else here will know what I'm talking about. ;-)
-Joe
On Tuesday, May 28, 2002, at 03:08PM, Matthew Johnson <email@hidden> wrote:
>
Hi,
>
>
If I had a table that had a list of names in it and I wanted all the names that contained a 'd' to appear red instead of
>
black like the rest of the names.
>
>
How would I do that?
>
>
Matt
>
_______________________________________________
>
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.
_______________________________________________
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.