Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timer enabled
Message
 
 
À
12/06/2012 07:04:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01545860
Message ID:
01545863
Vues:
99
Why would you enable a timer that is already enabled in the first place?

>I have a container with a TIMER that has the INTERVAL set to 1 minute. It is ENABLED (or disabled) in the REFRESH of the container. That refresh is visited each 10 seconds.
>
>I noticed that the timer did no longer fire each minute if its ENABLED.property is explicitly set to True each 10 seconds.
>
>It does fire if I only set the ENABLED property if its new value differs from the current value.
>
>It seems as though the ENABLED property acts as some sort of RESET().
>
>Who can explain this? Or do I miss a clue?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform