Re: NSTableView using Square Button for image
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