Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Do nesting exceded
Message
De
15/07/2000 18:07:11
 
 
À
15/07/2000 16:14:05
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00392852
Message ID:
00392936
Vues:
8
>Thanks Ed,
>
>Without having to rewrite this whole mess, would it help if I closed the precieding forms and jumped to the new form, and when
>finished closed and jumped back to the prior form ?

It depends. If your forms are modal - your user can only return to the previous form(s) after exiting from the new form, yes, you'd normally return to the previous form when this form finishes. If you want your application to be modeless - many Windows may be open at any time, and the user may freely switch among running WIndows, or even start another Window, then no, but managing a modeless, event driven program generallydoesn'talways start some other Window just because the current one is done. If only one form should be running at any point in time, then offering a menu or main screen, and starting the form that the user needs, exiting from it and coming back to the menu or main screen when it finishes will make this happen. If each time you finish one screen, you start another without ever unloading the previous form, the app will fail since there's a historical list of DO FORM calls which sits 'above' the current form still waiting to get released.

Yes, definitely return to the previous form or main menu when the form finishes.
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