Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing Entire Library
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00170168
Message ID:
00170244
Vues:
27
>Mark,
>
>If you use the VCX as a table, you can browse it and take a look at its contents. You'll see that it would be pretty easy to write a utility to do what you want to do. It would just copy each class without any property and method code and indicating the original class as the parent. It may take you a little trial and error, but once you've learned the vcx format there's a lot you can do with it.
>

I think the utility can be done without even hacking the VCX... there are commands you can use to list all the classes in the VCX... and you can use create class to subclass each one.

Also, you could just copy the VCX... open it in the class browser, rename all the classes, then redifine them... would probably take about the same time as creating the classes manually to.

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform