Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CTreeViewCtrl
Message
From
02/06/2005 13:56:25
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
01019236
Message ID:
01019480
Views:
22
>James :
>
>this work fine for me :
>in the OleTreeView object, when the OleImageList exist in the form.
>
>
>This.Object.ImageList = Thisform.oleImageList.Object
>RETURN .T.
>
I'm using the MereMortals framework which loads the imagelist and treeview controls dynamically at runtime. So, just to eliminate that layer I just created a form and dropped the two controls (imagelist and treeview) on the forms and added that code to the treeview's Init method. I got the same error.

However, when I right-clicked on the treeview control and defined the imagelist in the treeview properties form that comes up and it worked. So now I'm wondering what's the difference, and how do I get the same effect through code?

Aloha,

James
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform