FROM : Jerry Krinock
DATE : Sun Jun 25 16:06:53 2006
n 06/06/25 0:58, Angelo Chen at <email_removed> wrote:
> I subclass a NSImageCell and used it in NSMatrix, it
> works. I'd like to make each cell in the NSMatrix
> clickable like button, when it is clicked it will
> remain highlited
I'm not sure how this applies to your case, but realize that with an
NSButtonCell this behavior depends on how you set the "mode": tracking,
radio, highlight or list. Look at "modes".
DATE : Sun Jun 25 16:06:53 2006
n 06/06/25 0:58, Angelo Chen at <email_removed> wrote:
> I subclass a NSImageCell and used it in NSMatrix, it
> works. I'd like to make each cell in the NSMatrix
> clickable like button, when it is clicked it will
> remain highlited
I'm not sure how this applies to your case, but realize that with an
NSButtonCell this behavior depends on how you set the "mode": tracking,
radio, highlight or list. Look at "modes".
| Related mails | Author | Date |
|---|---|---|
| Angelo Chen | Jun 25, 09:58 | |
| Jerry Krinock | Jun 25, 16:06 |






Cocoa mail archive

