Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I get the order that each form is created or activat
Message
De
01/04/2002 21:08:26
 
 
À
01/04/2002 20:14:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00638660
Message ID:
00639772
Vues:
21
Hi Mike,

I agree that allowing the user to close the application from a Modal form, it is "technically" not a modal form. But using a modal form does prevent the user from opening any other forms in the app until they are finished with the current screen.
Several of my reasons for doing this:
1. I use Modal screens sparingly, mainly for critical data entry screens and pop up messages. Most data entry screens are modeless to allow copy and paste from other screens.
2. I must be able to remotely and programatically close the app. easily when required.
3. It allows the app to close properly when the user shuts down the computer without closing my application, even when a modal screen is on top.
4. My main reason for leaving _screen.closable at all times is for consistency, to allow the user to close the App. by clicking on the close button in the right corner of the main screen. After all, this is the common way to terminate any Windows app. I do this to avoid confusion and negative remarks. (Why can't I close this #%@$# program on some screens while all other Windows programs allow me to close them in this way?)

Closing the app in this way, whether the active form is Modal or Modeless closes the form in the same way as clicking on a cancel button. And it terminates the program as the user expects it to.

Thanks for your response. Although I don't always agree with everything I read in this forum, I respect the opinion of others and I find that I learn something from almost every post. If for no other reason, it makes me think and evaluate other ways of doing the same thing.

Elmer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform