Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How 2 Populate ImageList in VFP?
Message
De
30/04/1998 19:16:26
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00096172
Message ID:
00096184
Vues:
13
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform