Page 1 of 1

TTreeView (bitmap, colors and font)

Posted: Thu Nov 24, 2005 5:54 pm
by Maurilio Viana
I'm testing TTreeView class and I have pending any questions:
(I tested testtrer.prg)

1) Is possible change the font of group name to bold?
2) Is possible change the bitmap when the tree is open/closed? (I couldn't do it in testtrer.prg)
3) Is possible change the bitmap size to 32x32, 48x48, etc? I only could use 16x16 bitmaps...
4) I change the background color with oTree:Setcolor(...) but the background of characters and bitmaps color don't change. How can I change it?

Regards,
Maurilio

Posted: Sat Nov 26, 2005 5:07 pm
by Antonio Linares
Maurilio,

> 1) Is possible change the font of group name to bold?

I don't think so. That may required to implement ownerdraw support.

>
2) Is possible change the bitmap when the tree is open/closed? (I couldn't do it in testtrer.prg)
>

Yes, it is, but it is not implemented yet.

>
3) Is possible change the bitmap size to 32x32, 48x48, etc? I only could use 16x16 bitmaps...
>

Try to change the size of the bitmaps when you create the imagelist.

>
4) I change the background color with oTree:Setcolor(...) but the background of characters and bitmaps color don't change. How can I change it?
>

We are going to review it.