Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Imagelist Unknown Com Status
Message
De
03/07/2001 16:21:53
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Imagelist Unknown Com Status
Divers
Thread ID:
00526466
Message ID:
00526466
Vues:
42
I have a form with a treeview control on it. In the forms init I have
THIS.oImageList = CreateObject('MSComCtlLib.ImageListCtrl')
WITH THIS.oImageList.ListImages
   .Add(1,"folder",  LoadPicture("folder.ico"))
   *-- A buch of other adds
ENDWITH
THIS.ole_TreeView.ImageList = THIS.oImageList
When I run the form though foxpro it runs just fine. I make an exe out of it and I get Unknow Com status code. I traced it down to the imagelist and the adds but if I take out the adds then I get the error imagelist must be init. I don't know what to do next. I have added the imagelist to the form with an olecontrol instead of the createobject and it still does the same thing. Any help?
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform