Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with TreeView
Message
From
21/09/1999 14:02:36
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Problem with TreeView
Miscellaneous
Thread ID:
00267251
Message ID:
00267251
Views:
60
Hi, foxes!

I'm trying to add a image to my treeview.
I've put a imagelist control in my form, and added the images.
Then, when I'm adding a node, I try to define the image in the fifth parameter of .nodes.add()..., or even oNode.Image = 'image's name'... but when I try this, vfp shows me an error:
OLE IDdispatch exception code 0 from TreeCtrl: ImageList must be initialized before it can be used.

I'm sure it was iniatialized, 'cause I check this in init of the form.

Somebody can tell me what's happening?
Claudio Lassala
Next
Reply
Map
View

Click here to load this message in the networking platform