Why do you reference .Object for the treeview and not the listview? I am surprised that it doesn't work without the .object reference. It does for me but then I have it all in a container class which I put on a form when I need it.
>>I have an ImageList and a ListView a form.
>>
>>In the Init of the form I have:
>>
>>
>>ThisForm.oleListView.ImageList = ThisForm.oleImages
>>>>
>>and I still get the "ImageList must be initialized..." error.
>>
>>Anyone know why?
>
>When I use a treeview I use the command:
>
>thisform.oleTreeView.ImageList = thisform.oleImageList.Object
>
>In the init of my container (a form in this case)
>
>-Lou.