Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Having a form close itself
Message
 
 
To
07/06/2001 16:44:55
Wayne Thomas
Cleansuite Software Inc
Calgary, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00516650
Message ID:
00516703
Views:
8
>I am having a small problem with a new "wait window"-type form I've created for my app.
>
>I need to call this form ("WaitWind") and pass it some text, which it displays in the middle of the screen. So far, so good.
>Then I need to return the focus back to the object that called the WaitWind form.
>Once control has returned, and keypress or mouseclick anywhere needs to close that WaitWind form off. This is where I am stuck.
>
>Any suggestions?

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!
- Kevin Yockey
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform