FoxInCloud
picture in treeview
Gravatar is a globally recognized avatar based on your email address. picture in treeview
  Vincent H.
  All
  Oct 7, 2019 @ 02:14am

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  
  1. "c:\mypicture\courrier.png" is already in awBSicon.dbf
Gravatar is a globally recognized avatar based on your email address. re: picture in treeview
  Vincent H.
  FoxInCloud Support - Thierry N.
  Oct 8, 2019 @ 07:16am

Ok Thierry, I have never encountered any problem with an identification by name. I will modify my programs ...

Gravatar is a globally recognized avatar based on your email address. re: picture in treeview
  FoxInCloud Support - Thierry N.
  Vincent H.
  Oct 9, 2019 @ 12:17am

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.

Gravatar is a globally recognized avatar based on your email address. re: picture in treeview
  Vincent H.
  FoxInCloud Support - Thierry N.
  Oct 9, 2019 @ 12:29am

I did not find the documentation providing for this possibility. And I pass the full path of the image.
But that does not matter, I modify my programs with a numerical reference

© 1996-2019