Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp5 wait and doevent problem
Message
 
 
To
27/04/2000 21:45:32
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00362686
Message ID:
00364306
Views:
16
>By the way, is the Vfp 5 wait command timing accurate ? Or do I
>had to use Win32Api insteads ?

I use the Sleep() API function if I want VFP to give up processor time and delay for a specific amout of time.

>Plus, having doevent() once every few hundred iterations of my
>processing loop actually prevent my user from action like stoping/exiting
>using the mouse/keyboard on my application. Is this problem cause by bad design, please advise me on this. Thank you.

Doevents is required so allow a user to do something like click a cancel button. If you are getting it to trigger you might need to call doevents more often.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform