TTreeView (bitmap, colors and font)

Post Reply
User avatar
Maurilio Viana
Posts: 252
Joined: Tue Oct 25, 2005 2:48 pm
Location: Garça/Garza/Heron City - Brazil
Contact:

TTreeView (bitmap, colors and font)

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply