Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving an object to another class
Message
 
À
26/07/2002 16:32:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00683127
Message ID:
00683152
Vues:
28
>>You can drag a class from one VCX and drop it into another.
>>For objects, you can probably use copy and paste.
>
>Does that mean, I'll have to recreate it manually in the other VCX, add all properties and methods, and cut & paste all methods content?
No, if you drag one class from one VCX to another it will come with all-included (methods, properties, and code)

If, on the other side you want to do the same thing with an object (i.e. an instance of a class) then you will need to copy the object instanciated in one class and paste it in another class. Copying the object will bring code inside all its methods.
Hector Correa
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform