Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Associate a ImageList control to a Treeview control
Message
From
13/06/2003 09:32:55
Cristian Tenea
Aquila Part Prod Com
Ploiesti, Romania
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00799725
Message ID:
00799750
Views:
25
>>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
Map
View

Click here to load this message in the networking platform