>Hello
>I am using TreeView OCX and cannot make it work with picture collection. I did drop two control Treeview and ImagesList but even in a code I cannot assigne to
>Form.TreeView.ImageList=Form.MyImagesList. Is any way to make this
>work. Thanks
>Mark
Mark, try this in your TreeView Init method:
this.Object.ImageList = this.parent.oleImageList.Object
(supposing your ImageList control has name "oleImageList")
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison