• 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: NSMatrix: does it have an delegate method...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSMatrix: does it have an delegate method...


  • Subject: Re: NSMatrix: does it have an delegate method...
  • From: Bertil Holmberg <email@hidden>
  • Date: Sat, 5 Jan 2008 22:39:15 +0100

I believe you will have to use a borderless buttoncell and use target/ action to catch the clicks.

As for color, that's another problem that I'm fighting with right now. There are examples of a colored button on the web but making the custom cell work in a matrix seems non-trivial. I would be grateful for any tips on this too ;-)

http://danieldickison.com/blog/index.php?/archives/10-Making-Cocoa- buttons-look-happy.html

Bertil

I have a NSMatrix of NSTextFieldCell (uneditable "System Font Text" type)
displayed on window.


I want to change the color of a cell when the user clicks on any cell.

How do I achieve this?

Is there any delegate method that can be implemented, that tells when a cell
is clicked (selected).


I have gone thru the docs and couldn't find a way.

_______________________________________________

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


  • Follow-Ups:
    • RE: NSMatrix: does it have an delegate method...
      • From: "Navneet Kumar" <email@hidden>
  • Prev by Date: Re: thread protocol modifiers
  • Next by Date: Re: thread protocol modifiers
  • Previous by thread: Re: Command-Key modified cursor
  • Next by thread: RE: NSMatrix: does it have an delegate method...
  • Index(es):
    • Date
    • Thread