Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Embedding a control into an NSOutlineView?



Hello all ...

I am working on an app which needs to have an outline view with a check box next to each entry in the outline. My NSOutlineView otherwise works fine, and I have played with sending the appropriate constituent NSTableColumn the setDataCell: message using an NSButtonCell. However, I seem to get a plain bevelled text button no matter what I do to the NSButtonCell before sending it via setDataCell, and no matter what object I return for that column in the outline view's objectValueForTableColumn data source method.

I'm just learning Cocoa so I suspect there is a simple solution, but I sure can't figure it out...

--
Leon McNeill email@hidden
Softchaos Ltd. www.softchaos.com




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.