• 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 using Square Button for image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView using Square Button for image


  • Subject: Re: NSTableView using Square Button for image
  • From: PGM <email@hidden>
  • Date: Sat, 9 Sep 2006 21:11:37 -0400

If you just want to place an image in your cell, the most obvious route would be to use a NSImageCell. Alternatively, you can also consider using a NSAttributedString that contains a textAttachment with the image of your choice.

Good luck, Patrick


On 9-Sep-06, at 18:17 PM, Kevin Hoctor wrote:

I'm using a square button in an NSTableView column to display an arrow image when the data source has a true value in the related field. The problem is that the user can still toggle the value (turning off the arrow I'm putting in there programmatically) even though I have the Editable flag turned off in that column. I can disable it, but then it dims out my graphic.

I'm not married to this method so I'll take any other solutions. All I want to do is show a graphic when a value in a cell is true but keep it read only. TIA!

Peace,

Kevin Hoctor
No Thirst Software
http://nothirst.com



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40sympatico.ca


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >NSTableView using Square Button for image (From: Kevin Hoctor <email@hidden>)

  • Prev by Date: Re: Tracking rectangles and bezier paths
  • Next by Date: Re: NSTableView using Square Button for image
  • Previous by thread: NSTableView using Square Button for image
  • Next by thread: Re: NSTableView using Square Button for image
  • Index(es):
    • Date
    • Thread