Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Observation of DoEvents
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00170832
Message ID:
00171145
Vues:
25
>Hi!!!
>
>I have a process like this:
>
>_VFP.Autoyield = .F.
>...
>llCondition = .T.
>Do While llCondition
> ...
> If ...
> llCondition = .F.
> EndIf
> DoEvents
>EndDo
>
>When the process is runing it is relatively slow but if I move the mouse the process run faster
>
>Any suggestion to increase the DoEvents speed programmaticaly ??
>
>Thanks in advance!

Esteban,
To complement what Erik told, I seem to remember the idea was to have DoEvents fire once in a while. That is, set up a counter and have DoEvents fire once in 100 times.

Jose
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform