Page 1 of 1

TDBTree ImageField missing ?

Posted: Thu Mar 03, 2005 3:54 am
by 8442259
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.

Posted: Wed Mar 09, 2005 2:24 pm
by Tom
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.