Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp5 wait and doevent problem
Message
 
 
À
27/04/2000 21:45:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00362686
Message ID:
00364306
Vues:
18
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform