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:
00145725
Vues:
24
>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.

I don't think that's the problem.

I've played with this some more and I've seen some really inconsistent
behavior. What I've noticed is that if you have some UI events that
are triggered (such as an updated label) DoEvents works as it's supposed
to. So, I moved my DoEvents to another location at the end of my event
hook method and now it works right even without the MOUSE at all.

Behavior is different in the runtime than dev, too. In Dev I still
occasionally see the hangup - with the runtime it consistently runs
Ok.

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform