I see... It sounds like a strategically placed KEYBOARD CLEAR may do the trick.
>Hi Ken,
>
>Here goes! I have a loop that calls a form (like thus):
>
>glDone = .f.
>DO WHILE !glDone
> DO FORM MainForm
> READ EVENTS
>ENDDO
>
>When exiting the form, the program prints some reports and returns to run the form again so that all the initalization, etc. will run. The problem is that on some slower machines if the user presses the
key to run the reports and then continues to press the key....the program tries to run the form again before the old instance is released. So I thought if I could disable the keyboard till it was "all clear" to do the form again, that would be a good thing. Many thanks for asking.
>
kenweber
GCom2 Solutions
Microsoft Certified Professional