TDBTree ImageField missing ?

TeeTree VCL for Borland Delphi and C++ Builder.
Post Reply
mikkel
Newbie
Newbie
Posts: 1
Joined: Tue Dec 16, 2003 5:00 am
Location: Melbourne, Australia 1965

TDBTree ImageField missing ?

Post by mikkel » Thu Mar 03, 2005 3:54 am

TDBTree has properties for CodeField and ParentField, which gives a nice hierarchical display. I would like to be able to control the icon that is displayed depending on the value of a database field (a property called ImageField), the value of which would determine which image from an attached ImageList object.

It seems I could traverse the tree structure updating the images through code, but writing that code will be tedious, and possibly prone to failure. I am sure other tree controls have this sort of feature. I am hoping that the mechanism is in place, and I cannot find it in the help file. If not I guess this is a feature request.

tom
Advanced
Posts: 211
Joined: Mon Dec 01, 2003 5:00 am
Contact:

Post by tom » Wed Mar 09, 2005 2:24 pm

Hi,

Sorry, this is not implemented in TDBTree.
I'll add this in the future request list (ie to be able to assign a value to the image index from a database field)

Regards,
Tom.

Post Reply