delphidestructor
Programmer
- Oct 20, 2000
- 67
Can anyone tell me a quick and easy way to flush the keyboard buffer without having to make a low level call or calling a dll. I am prompting with a, recursively called, yes - no message box and I do not want the user to be able to accidentally hit the space bar or enter twice. I want to flush the keyboard input just before the prompt is called for, so input would only be accepted after the message box is visible. Thanks for any help. Mike