• 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
How to get a table column header with an image instead of text?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to get a table column header with an image instead of text?


  • Subject: How to get a table column header with an image instead of text?
  • From: Marc Respass <email@hidden>
  • Date: Sun, 20 Jul 2008 13:38:55 -0400

Hi All,

I have run a number of searches and cannot find any documentation nor examples for putting an image in a table column header. I tried setting the table header column cell to an NSImageCell but that failed fabulously. It seems that I need to sub-class NSTableHeaderCell and draw the image myself instead of text. Can anyone point me in the right direction? Subclassing is fun, no doubt, but if there's a better way, I haven't found it so that's the path I'm planning to take.

Thanks a lot
Marc
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to get a table column header with an image instead of text?
      • From: Marc Respass <email@hidden>
  • Prev by Date: Being notified of changes to a file
  • Next by Date: Re: How to get a table column header with an image instead of text?
  • Previous by thread: Re: Being notified of changes to a file
  • Next by thread: Re: How to get a table column header with an image instead of text?
  • Index(es):
    • Date
    • Thread