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?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement