Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveX Image Control change of images in the instance
Message
 
To
23/01/2002 09:30:39
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00608780
Message ID:
00609002
Views:
15
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
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform