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:
00114622
Vues:
13
>>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.

That's what I thought but was hoping there was a faster way. Oh well, off to it then. Thanx for the reply.
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform