Custom button cells for NSMatrix

2008-10-20 Thread norio
Hi, I'm trying to make a custom cell object for NSMatrix which behaves like radio button, this is, when you press the second cell, the second cell is highlighting still. Would you tell me which method I need to override? Thank you. Norio ___

Re: Custom button cells for NSMatrix

2008-10-20 Thread Ricky Sharp
This is actually quite difficult. I can send you details later today. In my case, I needed accessibility and mimic the Aqua radio buttons in terms of all their behaviors. I ended up subclassing NSMatrix and NSActionCell. I could not get a subclass of NSButtonCell in an NSMatrix to work

Re: Custom button cells for NSMatrix

2008-10-20 Thread Benjamin Dobson
Highlighting each cell in a matrix will let you change the image for it. On 20 Oct 2008, at 12:19:04, norio wrote: Hi, I'm trying to make a custom cell object for NSMatrix which behaves like radio button, this is, when you press the second cell, the second cell is highlighting still.

Re: Custom button cells for NSMatrix

2008-10-20 Thread Ricky Sharp
On Oct 20, 2008, at 6:23 AM, Ricky Sharp wrote: This is actually quite difficult. I can send you details later today. In my case, I needed accessibility and mimic the Aqua radio buttons in terms of all their behaviors. I ended up subclassing NSMatrix and NSActionCell. I could not get a