Re: NSTableView of NSColorWell
Re: NSTableView of NSColorWell
- Subject: Re: NSTableView of NSColorWell
- From: ber <email@hidden>
- Date: Sun, 22 Sep 2002 23:06:54 -0400
Thanks gents,
I'll roll my own too then.
brian
On Sunday, September 22, 2002, at 10:56 PM, Greg Hulands wrote:
Hi,
NSColorWell does not have an associated NSColorWellCell (i think is
quite a shame as it would have come in handy yesterday for me :-().
All I did was subclass NSCell and do a fill rect of the color and
then frame it with a black line. I have not as yet handle the click to
bring up the NSColorPanel so that it behaves like the NSColorWell.
(give me a couple of hours)
Greg
On Monday, September 23, 2002, at 11:53 AM, ber wrote:
I'm want to create a table of color wells. Presumably I need to set
the dataCell for the tableColumn.
I read that Controls typically have Cells associated with them but I
haven't been able to find the cell.
[ myColorWell cell] and [ NSColorWell cellClass] return nil. Perhaps
a color well is atypical. I'd be
happy to use IB to set up the table but I haven't figured that out
either. Jeez what a loser.
Any pointers would be appreciated.
Thanks,
brian
_______________________________________________
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.
_______________________________________________
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.