Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Utility to change base classes?
Message
 
 
À
22/08/2000 13:31:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00407862
Message ID:
00407907
Vues:
15
>Hi,
>
>I'm sure I saw a post within the last few days where someone had written a utility that can change the base classes for multiple forms in a project...
>
>I'm not sure if it was here or on the VPM newwgroup...
>
>Anyone else remember that post?

If you just want to do a mass change in all forms, the code is quite simple. use ADIR() to get an array of all the SCX files. Loop through the array and open each SCX as a table. Replace the information in the Class and ClassLoc fields as needed. You may also need to adjust the Parent name as well, although doubtful. Of course you should work on copies of the SCX/SCT files until you perfect your code.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform