Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Initializing an ActiveX Image List
Message
De
16/10/1998 11:27:37
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Initializing an ActiveX Image List
Divers
Thread ID:
00147511
Message ID:
00147511
Vues:
92
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform