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