Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clone Object
Message
De
02/02/2006 12:32:04
 
 
À
02/02/2006 12:20:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01092951
Message ID:
01092958
Vues:
24
This message has been marked as a message which has helped to the initial question of the thread.
>Is there simple way to clone object in VFP
>
>For example
>SCATTER NAME loData
>loData.ID = 1
>Clone loData to loDataNew
>loDataNew.ID = 2
>and changes in loDataNew property do not change loData property value
>
>Thanks
>Denis

No.
* COPY
FOR K=1 TO AMEMBERS(aProp,m.loData)
  ADDPROP(m.loDataNew,GETPEM(m.loData,aProp[m.k]))
NEXT
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform