FoxInCloud
picture in treeview
Hi Thierry,
In my treeviews, the image is not displayed if I invoke it by its label and not its serial number.
Ex:
.Nodes.Add (, , "Cou", "Courriers", "c:\mypicture\courrier.png") && picture is not displayed
.Nodes.Add (, , "Cou", "Courriers", 1) && picture is displayed
- "c:\mypicture\courrier.png" is already in awBSicon.dbf
Hi Vincent,
I don't think this syntax is officially supported, never saw it in the documentation; eg. https://www.levelextreme.com/Home/ShowHeader?Activator=23&ID=39020 only mentions the 'image' parameter as an integer referencing the imageList collection.
Ok Thierry, I have never encountered any problem with an identification by name. I will modify my programs ...
It seems to be a hidden feature documented nowhere…
Nodes.Add()
probably seeks, in the linked ImageList object, the image index from the full address passed.