• 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: prevent cell highlight for NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: prevent cell highlight for NSTableView (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: prevent cell highlight for NSTableView
  • Next by Date: Re: Fading audio in NSMovieView
  • Previous by thread: Re: prevent cell highlight for NSTableView
  • Next by thread: Xcode and Info.plist
  • Index(es):
    • Date
    • Thread