Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with TreeView + ImageList
Message
From
02/02/2000 06:52:27
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Problems with TreeView + ImageList
Miscellaneous
Thread ID:
00326048
Message ID:
00326048
Views:
73
Hi, Foxes!

I have a problem and I don't know what to do:

I have a form with a TreeView. It works pretty good. Today, I need to save it as class, because I need to reuse it.

I've saved as class, without made any change in code. However, it doesn't work as class.

Error Message: UNKNOWN MEMBER OLEIMAGELIST

I'll explain: In TreeView's Init, I have the following code (the problematic one)
This.Object.ImageLIst = This.Parent.oleImageList.Object

This code is necessary because we need ImageList Controle to put bmps in treeview.

Well, as I already told, the same cold works with form without been class, but as a class, it doesn't work.

May anybody help me?

P.S.: I'm using VFP 6 with Service Pack 3

Thanks in Advance
Claudio Lassala
Next
Reply
Map
View

Click here to load this message in the networking platform