Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IF ... What do YOU do?
Message
De
10/04/2006 04:38:06
 
 
À
10/04/2006 04:12:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01110792
Message ID:
01111862
Vues:
14
>>_Tally and timers Thread #1102133 Message #1102133
>>
>
>What an interesting reading, especially close to the end of that thread.
>
>Anyway, timers in VFP are based on Windows timers and are triggered when VFP processes Windows events. When AutoYield =.T., approximately every 200 milliseconds VFP processes Windows message before executing the next command. Therefore, it is possible for Timer events to fire between any two consecutive commands, SELECT-SQL and the next command are not special.
>
>Thanks,
>Aleksey.

Hi Aleksey,

it would be a lot of comfortable to control this interval
AutoYield = 200 as .T.

AutoYield = 0   as .F.

AutoYield = 500 as 500ms
and

how can I know if the code is performed among two lines of code in execution,
because AutoYield is fired ?

With the stack level PROGRAM(-1) ?
Possible, but not very deterministic.

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform