Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclass entire class library
Message
De
02/07/2003 21:36:46
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Subclass entire class library
Divers
Thread ID:
00806385
Message ID:
00806385
Vues:
57
I want to subclass entire class library. I know I can use Create Class Command to do for each class in the class library. I wonder whether the following coding is a workable solution or not:

copy file original.* to newsubclass.*
use newsubclass.vcx
delete for !empty(parent)
replace class with objname for val(reserved2) > 0
replace classloc with 'original.vcx' for empty(classloc) and val(reserved2) > 0
replace reserved2 with '1' for val(reserved2) > 1
use


Thank you for any suggestion.


Peter
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform