Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Speeding up DoEvents()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00142550
Message ID:
00145703
Views:
38
If the mouse move speeds your process (is this what you're saying?), try:

mouse at mrow("", 3) + 1, mcol("", 3) pixels
mouse at mrow("", 3) - 1, mcol("", 3) pixels

But this will make the mouse cursor blink in a nasty way probably.

Vlad

>That may work, but it turns out that the MOUSE command does not actually
>solve the problem I'm having.
>
>Here's what I'm doing: I have an object that performs a download
>process and fires an OnUpdate 'event'. THis is event is trapped
>in the form (object on the form) and it does a DoEvents to allow
>trappng for a Cancel key hit basically.
>
>Problem is unless the mouse is moved the DoEvents just sits
>there like a READ! Putting the MOUSE code in front of the
>DoEvents appears to do nothing to help the situation. As soon
>as you move the mouse things fly.
>
>+++ Rick ---
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform