Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView my woes revisited and solved
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
TreeView my woes revisited and solved
Divers
Thread ID:
00933341
Message ID:
00933341
Vues:
60
Hi all

I have posted here quite a few times regarding my woes whenever I had tried to implement a TreeView in my app. I have had help from many, even the gurus, but to no avail till yesterdate. Thanks for all who helped. This post is just to document how to solve the problems I had been facing, let's Blame it on Rio <g>. Again I tried it today to distribute such an app.

The Problem: TreeView generates error on target machine, never a problem on my machine.

The Specifics: Lines regarding the population of images in the imagelist generated error. THIS.PARENT.oleImageList.ListImages.ADD(,,LOADPICTURE(THIS.PARENT.cGroupIcon))

The Suggestions: Provide the .ico files. I did that by including them in the project. I provided them in the application folder and folders in the path. No go.

The Solution: Once an ico is given a pathname (relative or otherwise) it has to be physically present in that location. Adding the ico files to the project will only complicate the problems more and more, in the sense that even though the ico files are physically present in the required directory as soon as you include these files in the project, errors are still generated and will put you on a totally different track. Do not add ico files to the project used by a TreeView. Do provide the files at the specified location.

Please correct me where I might have understood wrong, but atleast today I am happy that I got a TreeView wokring for me <g>.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Répondre
Fil
Voir

Click here to load this message in the networking platform