Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Treeview.ImageList property not exposed (Active X)
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00058854
Message ID:
00058899
Views:
26
>I am trying to use the IMAGELIST and TREEVIEW Active X controls
>In VB5 you define the Imaglist and set the Treeview Imagelist property
>to point to the Imagelist. This works in VB but i cannot get it to
>work in VFP5.0
>This solutions demo uses this and it works, I copied the control from there and it worked a few times.
>Has anyone else had this problem?

Jeremy, try in TreeView Init method:

this.Object.ImageList = this.parent.oleImageList.Object
(supposing your ImageList control has name "oleImageList")

HTH,

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

Click here to load this message in the networking platform