Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MOD is not correct
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01622479
Message ID:
01622550
Vues:
56
Hi Hugo,

Oops: yes, remove the "M" so a mouseclick won't terminate it.

So, yes, a keystroke will end it; but that's not an issue in a service, where this would be used. Neither is a keystroke.

Hank

>>>Workable, but why ? Wait Window Timeout xxx should be enough and minimize CPU the same way...
>>
>>As will INKEY(1,"HM")
>
>Both wait window and inkey suffer from the same issue: user's input: A key/mouse event will terminate both "timers" and the code will run before the one second elapses (in this particular case), so I am with Al in this, I rather use Sleep to get more consistent values
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform