Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get a copy of an object ?
Message
 
 
À
25/08/2000 06:18:20
Dino Liberale
Ministero Lavori Pubblici
Trieste, Italie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00409129
Message ID:
00409136
Vues:
26
>I have a custom class 'pippo'
>Now I try to play with objects:
>
>opippo = createobject('pippo') && create opippo object
>opippo.tag = 'something'
>refpippo = opippo && crate a reference to opippo object changes made to refpippo are reflected to opippo.
>
>How to obtain a diffrent copy (not a reference) of opippo with prop tag just set and to be able to change it without reflect to opippo and refpippo ?
>
>Thanks,
>Dino.

Rick Strahl recently wrote a utility that makes object copies. You might want to check out his web site (www.west-wind.com). I don't know if it is available in the public domain of if it only comes as part of one of his products (e.g. WebConnect).
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform