Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the previous object state
Message
De
06/12/2001 01:17:41
 
 
À
06/12/2001 01:11:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00590354
Message ID:
00590358
Vues:
25
>You may use Rick´s wwXML, using that method that converts an object to a XML Document, and vice-versa...
>
>or perhaps you can create some routine using AMEMBERS() function, to iterate through all object´s properties, reading value from one, and setting on another...

You mean the CopyObject() method? Basically, if I understand correclty, I should call it like this:
FUNCTION RecursiveMethod
LOCAL loList
loList=This.CopyObject(This)
where loList will become another instance of This with all its property set.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform