Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ON SHUTDOWN
Message
De
15/12/1999 23:42:02
 
 
À
15/12/1999 22:58:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00304282
Message ID:
00304522
Vues:
41
>>ON SHUTDOWN CLEAR EVENTS
>
>I see this too and don't agree with it, first the code in the ON SHUTDOWN does method that runs thourgh like this:
>

Why would you have a method that does any cleanup that is only called from ON SHUTDOWN? What happens when a user chooses Exit from the menu? Why should there be 2 different methods?

>It takes into effect many things like Version(2) as well, but it verifies that we can close everything before it closes a thing and issuses the CLEAR EVENTS.
>

This is different than every other MDI app out there. Open MS Word, open and modify several documents. When you click the X, Word asks you a document at a time if you would like to save changes. If, on the last document, you choose Cancel, Word does not open the rest of your documents back up. Why should it? If one of my forms asks me to save changes before it closes and I say yes, and I choose cancel on another form, I don't want to have to deal with the first form again after I do whatever with the one I needed to finalize.

>Also, your FOR EACH and a release in the middle may skip every other form, you may want to find a new method for this.

It never skips a thing, I have b een using it for over a year. Why do you think it would do this?
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform