Re: prevent cell highlight for NSTableView
Re: prevent cell highlight for NSTableView
- Subject: Re: prevent cell highlight for NSTableView
- From: Chuck Soper <email@hidden>
- Date: Sat, 4 Oct 2003 15:11:14 -0700
I tried sending [myCell setHighlighted:NO] but I think that only
applies to NSButtonCell. I don't think setHighlightsBy: will work
either.
Perhaps, there's one or two methods that can be overridden in an
NSCell subclass?
At 11:42 PM +0200 10/4/03, Stiphane Sudre wrote:
I've been looking for a solution to this for some months.
If you find one, I would be happy to hear about it.
On samedi, octobre 4, 2003, at 11:33 PM, Chuck Soper wrote:
Hello,
Using NSTableView, I'm trying prevent cells in my leftmost column
from being highlighted.
I use the tableView:willDisplayCell:forTableColumn:row: delegate to
draw a background color in the leftmost column only. The color
drawn is associated with the data in the other columns for the same
row. The color is used as a visual key. The problem is that will I
select the row, the highlight color obscures the background color
in the left most column eliminating my visual key.
Is there any way that I can select a row without having the
highlight color drawn on top?
Thanks,
Chuck
_______________________________________________
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.
_______________________________________________
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.