Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Speeding up DoEvents()
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00142550
Message ID:
00145703
Vues:
39
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 ---
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform