Outline view questions (hide items & multiple line text)
Outline view questions (hide items & multiple line text)
- Subject: Outline view questions (hide items & multiple line text)
- From: Michael Peirce <email@hidden>
- Date: Tue, 13 Nov 2001 09:44:10 -0500
I have two questions about using NSOutline views:
(1) My code is happily mixing text items with other items like buttons
and pictures in various columns in my outline. This was pretty easy. Now
I'd like to only display these additional items in certain cases (like
only for leaf nodes). I'm currently using the willDisplayCell method
send setTransparent to the NSButtonCells when I don't want them to
display.
This works, but I was wondering if there is a cleaner way to do this?
(2) I have editable text items in my outline. Again, this was easy - for
single line text items. I'd like some of my text items to be able to
expand to multiple lines of text, rather than just be a single line.
Any tips on making this work easily?
THANKS
--
Michael Peirce
6497 Spinnaker Drive
Lewis Center OH 43035
740-657-1269
email@hidden