• 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, bindings, and a background color
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView, bindings, and a background color


  • Subject: Re: NSTableView, bindings, and a background color
  • From: Scott Ellsworth <email@hidden>
  • Date: Thu, 18 Aug 2005 13:44:49 -0700


On Aug 18, 2005, at 1:04 PM, Adam Knight wrote:

I presume no one has an answer?

On Aug 13, 2005, at 10:30 AM, Adam Knight wrote:

I have an object with a foreground and background color. I want to display this in an NSTextView, using bindings, and have the row's fore- and background colors set appropriately. There is a textColor binding, but nothing for the row's background.

Check out <http://www.cocoabuilder.com/archive/message/cocoa/ 2004/7/5/111043>


(Assuming you meant NSTableView rather than NSTextView)

You could then set up an outlet to the NSArrayController to get the proper item for the line, and then use that to determine what background color to draw.

Scott



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSTableView, bindings, and a background color (From: Adam Knight <email@hidden>)
 >Re: NSTableView, bindings, and a background color (From: Adam Knight <email@hidden>)

  • Prev by Date: NSMovieView Audio clicks
  • Next by Date: "Continuously Updates Value" and Undo
  • Previous by thread: Re: NSTableView, bindings, and a background color
  • Next by thread: Activating controls in a child window
  • Index(es):
    • Date
    • Thread