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:
00145725
Views:
23
>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?
Previous
Reply
Map
View

Click here to load this message in the networking platform