>I'm using MS TreeView ActiveX control version 5 for my Vfp 5 application, every basic thing works fine except I can't show image of the Nodes object of TreeView Control.
>
>I'm using MS ImageList AxtiveX Control to keep all my .Bmp and icons, accroding to the TreeView help documentation, in order to show image in the TreeView control, first must associate a ImageList Control to the TreeView ImageList property.
>
>However, I can't associate a ImageList Control to The ImageList property even in run-time or design time, why ?
MS screwed up TreeView control (at least for VFP use) since version which has the size 332288, date 08/21/96
Put in your 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