Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Having a form close itself
Message
 
 
To
07/06/2001 19:56:52
Wayne Thomas
Cleansuite Software Inc
Calgary, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00516650
Message ID:
00516712
Views:
10
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform