Re: Disabling Highlighting of Row Selection in NSTableView
Re: Disabling Highlighting of Row Selection in NSTableView
- Subject: Re: Disabling Highlighting of Row Selection in NSTableView
- From: Corbin Dunn <email@hidden>
- Date: Thu, 02 Apr 2009 13:34:47 -0700
Hi Sourabh,
It sounds like you missed my prior reply to your original email. Here
it is again:
This should work on tiger too. You also should subclass your cells and
make sure they don't draw any highlighting by overriding this and
returning nil:
- (NSColor *)highlightColorWithFrame:(NSRect)cellFrame inView:(NSView
*)controlView;
There is no need to override the private methods; people frequently
make that wrong assumption. Granted, the whole process could be made
better if there was an easy option to do this on NSTableView.
corbin
On Apr 2, 2009, at 10:48 AM, Sourabh Sahu wrote:
Hi Everyone,
I tried highlighSelectionInClipRect method & set the color but I
still getting row selected,but there is gap between cells.
But it still m not able to remove it completely,Please reply
Sourabh
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden