Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy two methods from one class to another
Message
De
09/06/2010 11:39:12
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01467735
Message ID:
01468075
Vues:
128
Copy a class

At first, it appears that there isn't a way to copy an existing class in VFP. You can subclass it–but there doesn't seem to be any way to copy a class. Well, with the use of the Project Manager it can be accomplished quite quickly with the following steps:

1. Drag the source class from one library to another.

2. Rename the class in the new library.

3. Drag the newly named class back to the original library.

4. Delete the class from the temp library.

Of course, it would be nice if there was a copy button on the right-click menu or somewhere else. But heck, we can't have everything!

extracted from: http://msdn.microsoft.com/en-us/library/ms947597.aspx
John Harold Belalcázar Lozano
Associate Director Of Development
http://www.belvicto.co/
jhbelalc@gmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform