Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Closing a form opened with DO Form
Message
De
12/09/2002 14:42:11
 
 
À
12/09/2002 14:37:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00699878
Message ID:
00699882
Vues:
19
>Greetings!
>I am having a hard time figuring out how to close a form when using the "DO FORM somthing" construct. I have one form which has a button on it which loads a form with an OLE object on it which displays an avi file. What I want to do is close the form with a differnt button but the solution seems to escape me. Can someone offer a suggestion that might hemp me get arround this situation? Any help would be greatly appriciated. :-)

Is the form modal? If so, you've basically slit your own throat - the new Form is launched, and being modal, retains control and focus until it is closed; you never leave the method that launched the Form because DO FORM never terminates to return control to the caller. Try making the child form modeless.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform