>>I am delevoping a form using an ActiveX treeview control. I want to populate the treeview wth images but can't seem to initialize the control with the imagelist control I have on hte same form....
>>
>>Any ideas????
>>
>>TIA
>>Michael
>Michael try "object" :
>THISform.oleTreeview.imagelist = thisform.oleimageslist.object
Oh Cetin,
This may (or may not) be the solution to a problem I was having in 5.0. In 6.0, I could simply say:
ThisForm.oleTreeView.ImageList = ThisForm.oleImageList
Further, when I drop the ImageList on a form in 6.0, I could select it from the TreeView's property dialog. I couldn't in 5.0. I've been scratching my head over this one, trying to get this to work in both version, and had just about written it off as VFP 5.0's problems with ActiveX.
You've given me a new idea to try. Thanks.
George
Ubi caritas et amor, deus ibi est