Mike Yearwood
Toronto, Ontario, Canada
Versions des environnements
Network:
Windows 2000 Server
Hello,
"ON KEY LABEL is a dangerous practice. If the user hits F10 twice, it will start the process for the first hit, get part way through, start the process again for the second hit, finish the second and then finish the first. You may want to add a flag that suppresses subsequent starts."
setting _VFP.AutoYield to .F. (to surpress that keypresses and other user events are handled between code lines) at the first line in such a routine
and back to .T. in the last line is a good way to solve this.
Regards
Christian
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement