>I am trying to use oleTreeView from VFP6.0 and it keeps giving me an error that Imagelist must be initialized prior to use. I know that in VFP5 the order in which these two controls are added to the form makes a big difference, so I have tried adding them in both sequences, first one then the other. Neither seems to make a difference.
>
>The ImageList property in the TreeView control is not staying set: I can set it (in the ctlTreeView properties, not VFPs), save the properties, then immediately go into the property list again and it is back to
.
>
>I am hoping someone has had some experience with this and can help.
>
>Thanks very much
>
>Reg
Reg,
Try with the "Send to Back" button. The object you sent to back will be the first to instantiate. If you're still stuck, I have a sample Treeview on my Web. Go to the download page and look for an ActiveX example.
Jose