Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Having a form close itself
Message
From
07/06/2001 17:08:00
 
 
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:
00516667
Views:
15
You want to close the "waitwind" form from the calling form? If that's what you mean, you can use the NAME part of DO FORM to give it a name you can control it with. Then use the keypress of the form to catch keypresses. I'm blanking on how to catch the mouse, but there's probably a way.

Michelle


>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?
Previous
Reply
Map
View

Click here to load this message in the networking platform