Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_Tally and timers
Message
 
À
10/03/2006 17:15:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01102133
Message ID:
01103345
Vues:
26
>As to my understanding, the native timers are *not* windows events. Viv's test also suggests that they are not, because in that case the timers should have fired many times (autoyield is True in that code) during the for/next loop. Actually, they only started firing after that loop. >

Well, maybe you didn't read the help for DOEVENTS, which states that You can use DOEVENTS for simple tasks such as making it possible for the user to cancel a process after it starts, for example, searching for a file. Long-running processes that yield control of the processor are better performed using a Timer control or delegating the task to a COM Server executable (.exe). . In my understanding, that makes timers the subject of asyncronious processing, at the same level as COM servers, at least in the context of this issue.

> I think the concept is not well understood by many of us.
And that's why caution should be taken...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform