Re: Highlighting NSImageCells in an NSMatrix
Re: Highlighting NSImageCells in an NSMatrix
- Subject: Re: Highlighting NSImageCells in an NSMatrix
- From: Michael Becker <email@hidden>
- Date: Wed, 4 Feb 2004 15:06:23 +0100
Lotta work for just highlighting a cell...
You're overstating the level of difficulty. Subclassing NSImageCell to
do what you want is *easy*:
You're right. I think the hard part for me is mostly to figure out
*what* to do. (Hence my original question, whether there was a *simple*
way ;-))
Obviously this was typed quickly in Mail and hasn't been tested, but I
think you get the idea.
It actually was flawless :-) Copy & paste worked nicely. Thanks.
(BTW, you can turn the borders off using the -setBordered: and/or
-setBezeled: methods if you want to do so.)
Yeah, I did that before. That was actually the original problem I had.
When I turned the borders/bezeled off, there was no highlighting
anymore.
Thanks!
Michael
_______________________________________________
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.