Andrew,
This is right out of the Solutions sample that contains a treeview and imageslist.
THIS.PageFrame1.Page2.oleTreeview.ImageList = THIS.oleImagesList
I knew that I didn't think it up :~).
>John,
>
>I don't know about you, but I've always had to use the image list's object property:
>
>
WITH This
> .oleTreeview.ImageList = .oleImagesList<B><I>.object</I></B>
>ENDWITH
>Cheers,
>
>Andrew
>
>>>I'm trying to put images beside entries in a TreeView control and everything seems to be in order but why can't I associate an Image List control to this TreeView control??
>>
>>Charles,
>>
>>First make sure you have dropped an ActiveX imageslist on your form then in the form.init place the following line ASSUMING that your treeview control is named oleTreeView and your imageslist is named oleImagesList...
>>
>>WITH This
>> .oleTreeview.ImageList = .oleImagesList
>>ENDWITH
>>
>>There is an example in my framework located in the project section of files here on the UT.