>I want to associate a imagelist control iml1 to a treeview. I used the syntax: thisform.tvw1.ImageList=thisform.iml1 and I received the message: OLE IDispatch exception code 0 from TreeCtrl:Invalid object...
>The some situation for thisform.tvw1.setImageList(thisform.iml1)
>I can't set the imagelist propertie from TreeCtrlProperties.I've got for the imagelist just a single choice:none but for the listview lvw1 i can do that.
>Can anybody help me, please?
>Thank you.
Could it be that the Treeview was placed on the form prior to the ImageList? If so, this type of error would occur since the Treeview would be instantiated before the the ImageList.
George
Ubi caritas et amor, deus ibi est