Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Initializing an ActiveX Image List
Message
From
16/10/1998 11:27:37
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Initializing an ActiveX Image List
Miscellaneous
Thread ID:
00147511
Message ID:
00147511
Views:
91
I am building a tree view to show the contents of the current DBC. Thus the root entry is the DBC, below that come the tables and views in the DBC, and finally the fields in each table/view. I would like to include images to give the user a clue as to what they are looking at. I've developed a set of images, and placed them in an image list on the form. When I try to reference the images in the Nodes.Add Method of the tree view, I get an error message;

"The image list must be initialized before it is used."

I've tried specifically calling the init for the image list before the add code, but so far no luck. I've also tried specifically setting the image list property for the tree view;

o = ThisForm.oleTree
o.ImageList = ThisForm.oleImageList

where I get an illegal object reference error.

Any thoughts or suggestions are greatly appreciated.

Regards,

Jason Tryon
Jason Tryon
Senior Systems Analyst / Technical Lead
eBusiness / iPage
Next
Reply
Map
View

Click here to load this message in the networking platform