>>Paul, it is well known bug? feature? :)
>>
>>Try this in your TreeView Init method:
>> this.Object.ImageList = this.parent.oleImageList.Object
>> (supposing your ImageList control has name "oleImageList")
>>
>>NIck
>
>
>Nick,
>
>What does 'object' refer to?
>
>I am right in thinking that trying to get the images populated at design time is impossible?
>
>Best wishes
>
>Paul
Actually, if you look at your form in Watch or Locals window at the runtime and open your TreeView control there (or any other OLEcontrol) you will see that they have Object property listed, and if you open it, there will be some specific properties for this OLE control.
You can fill your imagelist at design time, if you right click on it and under ImageListCtrl Properties/Images you can add them.
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