Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timers
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Timers
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01521261
Message ID:
01521282
Vues:
69
>>Great question and I look forward to the answer from the wise ones.
>>
>>My guess is that since VFP is not multi-threaded, a timer has to wait for a break. If that is not the case then it seems you could simulate multi-threading by instantiating multiple timer objects with different tasks.
>
>Just ran a simple test. Yes, a timer has to wait for a break.

Were you using a loop to keep VFP "busy" while a timer tried to fire? If so, if you include DOEVENTS in the loop, do you notice any difference?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform