>>A timer on the wait window with a lastkey() check could work. -100 appears to
>>be the mouse buttons, but I could be wrong on that front. Hope that helps!
>
>Thanks but wouldn't the focus still be on the "wait window"? We want the cursor to return to the calling form so the user can see that the form is ready for input. Then as soon as the user presses a key the form disappears (just like the WAIT WINDOW command.
>
>Wayne
I haven't tested it out to confirm, but I'm pretty sure you won't have this problem if your wait window is already transferring focus correctly. A timer does not require it's form to have focus in order to run. You're best bet would be to give it a shot and see what happens!
- Kevin Yockey