Mike Yearwood
Toronto, Ontario, Canada
Environment versions
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only