Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine whether in Design or Run mode?
Message
 
 
À
23/07/2007 15:17:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01242864
Message ID:
01242957
Vues:
15
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform