Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveX control Treeview, Image list control
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00133574
Message ID:
00133576
Views:
14
>I would like to use the treeview control in my vfp 5.0 application. But I have problems using pictures in the nodes. I get the message that the image list control must be initialized before it can be used. I checked through the samle application but I couldnt find any code how to initialize the image list control.
>
>How must this be done?

Thomas, try this in your TreeView Init method:
this.Object.ImageList = this.parent.oleImageList.Object
(supposing your ImageList control has name "oleImageList") And ImageList should be placed on the form before the TreeView.

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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform