>>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.
I created the form with imagelist and treeview on it and association of imagelist to treeview is done from command button with thisform.treeview.imagelist=thisform.imagelist : same error
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only