Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CTreeViewCtrl
Message
 
To
02/06/2005 13:56:25
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Miscellaneous
Thread ID:
01019236
Message ID:
01019506
Views:
21
Salu2 James!!

*:* 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.

Sorry i don't use MMF...

*:* 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?

Try it :

Change this code lines :
IF TYPE('This.ImageList') == 'O' 
   This.TreeView.Object.ImageList = This.Imagelist.Object
ENDIF

By :
IF TYPE('This.ImageList') == 'O' 
   This.TreeView.Object.ImageList = This.Parent.Imagelist.Object
ENDIF
*:* Aloha,
Salu2!


*:* James
Att.
William Chavez
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform