Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX Image Control change of images in the instance
Message
 
À
23/01/2002 09:30:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00608780
Message ID:
00609002
Vues:
13
I wanted to contain the whole jing-bang. I wanted a drag-drop treeview with all in it, thus.

>>I have put a TreeView and an Image control onto a contaniner class and saved it as a class. When I instantiate the container onto a form things work well but if I change the images of the image control, the originally stored images display when the form is run.
>>
>>How can I change the images on an instance by instance basis.
>
>Bhavbhuti,
>
>You could create the imagelist as a seperate class. In the init of the form assign a new instance of the imagelist subclass to a form property.
>
>THIS.ImageList = NEWOBJECT('MyImages','ImageListLib')
>
>Then you can assign it to the tree.
>THIS.TreeView.ImageList = THIS.ImageList.Object
>
>I think, anyway.
>
>Dan
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform