Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class problem form Visual Fox 5 to Visual Fox 6
Message
De
03/02/1999 16:19:25
 
 
À
03/02/1999 13:44:57
John Kieffer
Kansas City Life Insurance
Kansas City, Missouri, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00183543
Message ID:
00183635
Vues:
24
>I have tried that with no success. Same error. I searched all files in my project for "c:\vf\wizards\appwiz.vcx" (the old VFP5 setting) and it only showed up in one file: ..\libs\reports.vct ("Reports" is the name of my project) I can't seem to find a way to modify that vct file.

When you subclass a class, the path to the parent class is stored in the class. So, Even though you have the correct path to the library in the project, the wrong path is still in the subclass.

What you want to do is open your class browser. Open ALL class libraries that have classes which are subclasses of classes that are in different directories.

For example... lets say you subclassed

cThisClass in c:\vfp5\CoolClass.vcx to cMyClass

Right click cMyClass and choose Redefine. Browse to the class library in the new path, and click on it, then select the parent class from the right, this will correct the problem.

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform