Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How 2 Populate ImageList in VFP?
Message
From
30/04/1998 19:16:26
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00096172
Message ID:
00096184
Views:
12
>I'm having trouble finding documentation on how to populate an 'ImageList' ActiveX control with icons for use in a TreeView ActiveX project.
>
>Although it's not quite intuitive, I have the treeview working OK, but I need to associate an icon with some members for clarity. I think I can see how to associate and image with each object, but in order to do so, I need to somehow attach them to this pesky ImageList object!
>
>Help or guidance to some VFP documentation on this would be appreciated.
>
>TIA
if your problem is associating the Imagelist with the Treeview
then a line like this (or somthing similar):
This.ImageList = This.parent.ImageListName.Object
in the treeview init will do that

if you already associated the treeview to add a node with an Icon just put the icon number as the last parameter when calling the ADD method

Arnon
Previous
Reply
Map
View

Click here to load this message in the networking platform