Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView Control
Message
From
11/02/2000 06:13:02
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00329318
Message ID:
00330577
Views:
18
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform