Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Suicidal timer
Message
De
18/09/1997 23:21:29
 
 
À
18/09/1997 16:43:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00050612
Message ID:
00050668
Vues:
26
>I have a timer control that has code in it that is supposed to execute once and only once 5 seconds after the form has initiated. I have placed in the end of the timer's timer event 'this.enabled = .F.' I was expecting this to cause the code to be executed only once, but it doesn't. the timer event fires continually after that. What am I doing wrong? TIA

Is the Interval = 5000? If it is more than 500-1000 you should not have this problem.

If the Interval is under 300, the only why to REALLY disable a timer is to release it (ie MyTimer.Destroy()).

Vlad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform