Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine whether in Design or Run mode?
Message
 
 
To
23/07/2007 15:17:08
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01242864
Message ID:
01242957
Views:
14
This message has been marked as a message which has helped to the initial question of the thread.
The expresions for properties are only evaluated when class is instantiated for the first time and stored in the cached copy of the class. All class instances are created from that cached copy. As result they all have the same value of such properties.

>For me it, is not evaluating datetime() when I save the class. It is doing it the first time I create the object. And then, interestingly, it is using the same time every time the object is created. Well, almost every time. Issuing a CLEAR ALL makes it start over with the correct time the next time the object is created. And so does exiting VFP and coming back in.
>
>Interesting, to say the least.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform