Re: Problem subclassing a NSCell in a NSTableView (more)
Re: Problem subclassing a NSCell in a NSTableView (more)
- Subject: Re: Problem subclassing a NSCell in a NSTableView (more)
- From: kawana <email@hidden>
- Date: Thu, 1 Jun 2006 12:48:16 +0900
Alex,
If you want to change drawing highlight selection,
NSTableView
- (void)highlightSelectionInClipRect:(NSRect)clipRect
-
Kazuhiro Kawana
On 2006/05/31, at 23:37, Alexander Lamb wrote:
However if I add the undocumented method, everything works...
except if I use alternate row colors: it inverts the color of the
alternate colors (e.g. a selected row has the wrong alternate color)
--
Alexander Lamb
email@hidden
On May 31, 2006, at 4:31 PM, Alexander Lamb wrote:
Well, I tried subclassing the TextFieldCell as suggested and
implementing:
- (NSColor *)highlightColorWithFrame:(NSRect)cellFrame inView:
(NSView *)controlView
{
return nil;
}
But it is not sufficient. It looks like the table view itself
highlights the row!
--
Alexander Lamb
email@hidden
On May 31, 2006, at 3:50 PM, Jim Correia wrote:
On May 31, 2006, at 9:37 AM, Alexander Lamb wrote:
Now, obviously, this looks like a private method:-) But until
someone has a wonderfull and documented way of handling this
problem, that's how I will do it!
http://lists.apple.com/archives/cocoa-dev/2006/Feb/msg01282.html
Jim
_______________________________________________
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
_______________________________________________
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
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40bu.iij4u.or.jp
This email sent to email@hidden
_______________________________________________
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