• 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
Image with dynamic background color and text in table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Image with dynamic background color and text in table


  • Subject: Image with dynamic background color and text in table
  • From: Rob In der Maur <email@hidden>
  • Date: Wed, 2 Apr 2003 10:40:48 +0200

Hi all,

I want to have an image in one of my columns in my table of which I can set the foreground text and background color programmatically. I guess setting the background color is just a matter of how transparent I make the image, setting the foreground text is a bit more trickier.
It is almost along the lines of the 'ImageAndTextCell' class which is part of the Cocoa samples Apple is providing, but in this class the actuall frame to display image and text is divided in a seperate image and text area using NSDivideRect. I want the image and text basically on top of each other. And I have no clue how to do that. Any hints, code snippets, examples, etc. are much appreciated...

cheers,
Rob
_______________________________________________
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.

  • Prev by Date: Re: Javadoc for obj-c??
  • Next by Date: Re: Localized decimal point
  • Previous by thread: Java: NSTableColumn subclass in IB?
  • Next by thread: Re: Japanese name for FileMaker
  • Index(es):
    • Date
    • Thread