Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Splitting 1 classlib into many. How to update old apps?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00114551
Message ID:
00114558
Vues:
17
>I have a class library that I've used for quite a few apps. Over time, as I created new classes or aquired them from resources like UT, I added them to this library. Now I want to split these classes into logical groupings in separate class libraries. Creating the new class libraries and moving the classes around is easy. What I need to know is what is the best (and hopefully easiest) way to update all my old apps to use the new class libraries? TIA

First, obviously, create copies of everything, libraries, forms. Open the forms as tables -- use form.scx. You could use the strtran() function to change the class library names in the ClassLoc field. Then recompile.

As long as you do not modify the name of the class, the information in the class and baseclass fields should remain the same.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform