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.
If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?
From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."
All my FoxTalk and other articles are available on my
web site.
Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.