Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The Timer Event
Message
De
18/05/2001 11:15:53
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00508684
Message ID:
00508745
Vues:
23
so... you have a long procedure and in the middle of it the timer event on timer1 is ready to fire. Does the current procedure finish executing before the code in the timer event fires, or will it break out of the current procedure, execute the timer code, then return to that procedure? Does the count on the timer continuously get evaluated, or is this only between events ( if only between events then it wouldn't break code )? If it would break code, would AutoYeild prevent this?

in the help file about autoyield it says "... FoxPro processes pending Windows events between execution of each line of user program code.". I've always thought that ment the windows operating system ( other running applicaions ), and therefore would only change the preformace of the application but not the order of code execution. Is this thought wrong? It seems to me that the AutoYield property's intended use is in ActiveX controls. The timer i do believe is an ActiveX control, but it's embedded in VFP so I'm not sure if the effects will be the same.
( sorry of all the questions in this one, but they're all related )

- jer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform