Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the previous object state
Message
De
06/12/2001 00:55:28
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Getting the previous object state
Divers
Thread ID:
00590354
Message ID:
00590354
Vues:
65
I have a recursive logic for my object. It goes like this:
LOCAL loList
loList=CREATEOBJECT('FournierTransformationList')
loList.Method()
...
IF ...
   This.RecursiveMethod()
ENDIF

FUNCTION RecursiveMethod
LOCAL loList
loList=CREATEOBJECT('FournierTransformationList')
...
Is there a way, once I am in the RecursiveMethod() to fill loList with the current object such as:
FUNCTION RecursiveMethod
LOCAL loList
loList=CREATEOBJECT('FournierTransformationList')
loList=This.AllProperties()
without having to do this:
FUNCTION RecursiveMethod
LOCAL loList
loList=CREATEOBJECT('FournierTransformationList')
loList.Property1=This.Property1
loList.Property2=This.Property2
...
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform