Hi Terry
>It seems you need to implement an "IMAGELIST" before you build your tree view.
Yes but in VFPTree Imagelist is not required (it has it inbuilt). Plus these same 2 lines work in the development version. The installed version won't work, even on my machine.
>Check out this download #
16575. It runs with VFP 6 through VFP 8- just cancel the version notification. The download shows how to add images to an imagelist and then how to bind the imagelist to a treeview control.
Yes I will definatetly check it out, in fact initially I had created the same TreeView using the standard MS-TreeView and MS-ImageList as provided in VFP6 sp5, though I don't have it handy but I definately had similar problems on the distribution versions.
>To bind and imagelist control:
>MyTreeview.ImageList=thisform.ImageList1. The images are not added to the treeview with LOADPICTURE. They are added to the ImageList control that way, and referenced in the treeview node by their ImageList control key or index. The download will make that clearer for you.
Okay
>You also have "THIS.PARENT". If your treeview is on a form you can also use "THISFORM". If the treeview is inside a container on a form, then "THISFORM.Container1" would be appropriate.
It's on a PageFrame.Page1
>Play with and read through the download - it might be helpful!
Will do thanks.