>I am trying to use the IMAGELIST and TREEVIEW Active X controls
>In VB5 you define the Imaglist and set the Treeview Imagelist property
>to point to the Imagelist. This works in VB but i cannot get it to
>work in VFP5.0
>This solutions demo uses this and it works, I copied the control from there and it worked a few times.
>Has anyone else had this problem?
Jeremy, try in TreeView Init method:
this.Object.ImageList = this.parent.oleImageList.Object
(supposing your ImageList control has name "oleImageList")
HTH,
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison