• 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: NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: NSTableView
      • From: Hasan Diwan <email@hidden>
    • RE: NSTableView
      • From: "Jonathan E. Jackel" <email@hidden>
  • Prev by Date: Quicktime without an Aqua Window
  • Next by Date: Re: making things invisible
  • Previous by thread: NSTableView
  • Next by thread: RE: NSTableView
  • Index(es):
    • Date
    • Thread