Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug on timer, but not deterministic
Message
De
23/10/2003 14:58:36
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00840948
Message ID:
00841751
Vues:
20
Hi Houston,

------
This is not a solution to the large number of (I assume unwanted) Timer events that queue up while your Timer event is busy. Unless the first thing your Timer event does is to disable itself, and does not re-enable itself on completion.
------

yes, but it is a start point

i use this on my timer
IF m.this.Enabled
  this.Enabled = .F.
  .... CODE ....
  this.Reset      && this is natural code, but i'm not sure it reset the queue  
  this.Enabled = .T.
ENDIF
To implement more complex, add a property a control it on timer event.

Fabio
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform