TDBTree ImageField missing ?
Posted: 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.
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.