• 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: NSTableView of NSColorWell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView of NSColorWell


  • Subject: Re: NSTableView of NSColorWell
  • From: Greg Hulands <email@hidden>
  • Date: Mon, 23 Sep 2002 12:56:10 +1000

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.

  • Follow-Ups:
    • Re: NSTableView of NSColorWell
      • From: ber <email@hidden>
    • Re: NSTableView of NSColorWell
      • From: Scott Anguish <email@hidden>
References: 
 >NSTableView of NSColorWell (From: ber <email@hidden>)

  • Prev by Date: Re: [Q] Programmatically resizing split views in NSSplitView
  • Next by Date: Re: NSTableView of NSColorWell
  • Previous by thread: NSTableView of NSColorWell
  • Next by thread: Re: NSTableView of NSColorWell
  • Index(es):
    • Date
    • Thread