Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recursion with assign and access methods
Message
From
08/06/2010 08:44:48
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01467810
Message ID:
01467868
Views:
46
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform