Re: NSTableView, bindings, and a background color
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