• 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
Custom Cell highlighting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom Cell highlighting


  • Subject: Custom Cell highlighting
  • From: Michael Becker <email@hidden>
  • Date: Fri, 25 Mar 2005 16:05:56 +0100

Hello!

This problem seems to have been around before, but I could not find any solution on the web/list-archive. Here's the deal:
I have a custom NSCell in my NSTableView. The cell is set up to display an image and a button. So far, everything works nicely, except for one thing:


The button is an image button and when the cell is highlighted, I want to change the image on that button. I tried overriding - (void)highlight:withFrame:inView: in my NSCell subclass. But this method obviously is never called. Why not? :-)

There is basically nothing special about my set-up. It's really just a simple NSCell subclass whose -highlight:withFrame:inView: does not get called. Does anybody have a clue what could be the cause of this here?

Regards,
Michael

_______________________________________________
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


  • Follow-Ups:
    • Re: Custom Cell highlighting
      • From: Ryan Stevens <email@hidden>
  • Prev by Date: Re: Memory usage
  • Next by Date: Re: Accessor method idioms...
  • Previous by thread: NSDocumentController currentDirectory is nil
  • Next by thread: Re: Custom Cell highlighting
  • Index(es):
    • Date
    • Thread