Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Splitting 1 classlib into many. How to update old apps?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00114551
Message ID:
00114558
Views:
16
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform