TTreeView (bitmap, colors and font)

TTreeView (bitmap, colors and font)

Postby Maurilio Viana » Thu Nov 24, 2005 5:54 pm

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
Maurilio Viana
 
Posts: 252
Joined: Tue Oct 25, 2005 2:48 pm
Location: Garça/Garza/Heron City - Brazil

Postby Antonio Linares » Sat Nov 26, 2005 5:07 pm

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 77 guests