Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Observation of DoEvents
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00170832
Message ID:
00171145
Views:
24
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform