Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy properties/methods from one class to another?
Message
 
À
15/05/1997 20:33:57
Jon Ziegler
Mannesmann Dematic Corp.
Solon, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00032522
Message ID:
00032525
Vues:
36
>Is it possible to copy or move a method or property from one class to another? I know it's possible to move classes from one .VCX to another, but what about the individual methods and properties within a class?

I think the only way is to create the new method.
Cut and paste the code from the first method to the second one.

BTW, if you want copy a lot of methods from one class to another, you can use the class browser and click on the 'view class code' button and cut the code from this window.

HTH :-)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform