Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recursion with assign and access methods
Message
De
08/06/2010 08:44:48
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01467810
Message ID:
01467868
Vues:
47
>Hi everybody,
>
>If access of the property assigns a value to this property or vs. versa, one method calls another again. Is there a way to not call one of the methods if we need to access a property in the access method or assign it?
>
>Thanks in advance.

by design

property_Assign hide property_Assign and property_Access methods.
property_Access hide property_Access methods

this prevent recursion.

But...

some native VFP property are buggy,
and read or write property fire the assign and access methods.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform