Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement