> Hi there,
>
> I want to use Tk::Tree object to create a tree view, but I didn't see any
> options to fold a tree item. Could anybody teach me that?
>
> Thanks
You can force a line of text to wrap by including a newline in it, but
that won't change the vertical spacing between elements, so the Tree
will get messy looking. Usually, it is better to make it scroll
horizontally.
** Posted from http://www.teranews.com **
Jianhui Wang - 01 Jul 2008 07:49 GMT
Hi there,
I read the Tk::Tree documents again and figure out how to do that. just use
$tree->setmode('open') or $tree->setmode('close').
Thanks
>> Hi there,
>>
[quoted text clipped - 9 lines]
>
> ** Posted from http://www.teranews.com **