Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Understanding Timers Part Duex
Message
De
13/08/2004 05:18:33
 
 
À
12/08/2004 20:15:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00932987
Message ID:
00933041
Vues:
19
Add Message to queue
Set Timer Interval to 1 millisecond.
Enable Timer

** Added logging for debugging purposes.
** Function Timer
Has the Timer been disabled
  Return
Disable Timer

Log "In Timer"

Do while there are still messages in the queue
  Log "Process the first message"
  Process the first message

  Log "Are there more messages?"
  Are there more messages?
    Log "Remove the first message"
    Remove the first message


try this:
Add Message to queue
* Set Timer Interval to 1 millisecond. if it is constant, you can skip this
Enable Timer

* Has the Timer been disabled : this is not necessary for me
Disable Timer
....
timer.Reset
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform