Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug on timer, but not deterministic
Message
 
 
À
22/10/2003 06:44:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00840948
Message ID:
00841250
Vues:
22
Fabio, I've also had problems with multiple Timer events for one Timer queuing up. This has happened even if the first thing done in the Timer Event is:
This.Interval = 0
This.Enabled = .F.
The only way I could handle it was with a Form property lBusy:
If ThisForm.lBusy Then
   Return .F.
Endif
ThisForm.lBusy = .T.
This.Interval = 0
This.Enabled = .F.

*- ... other processing here

*- Restore Interval and Enable
This.Interval = 1000
This.Enabled = .T.
ThisForm.lBusy = .F.
Return .T.
censored.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform