Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timer to close app
Message
De
13/08/2004 09:49:21
 
 
À
13/08/2004 08:46:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00933092
Message ID:
00933118
Vues:
20
>Hi. We have some VFP6.0 apps that users don't close when they leave for the day. I used the timer class to create an object that would check to see if it's between a certain time--say after midnight, and if so close the app. This is probably very stupid, but when I call Clear All within the timer event, I get an error that the timer object is in use, and therefore can't be cleared. I've been researching this for a while and cannot find an obvious solution, although I'm sure the answer is simple. Thanks...

Why not issue Quit from the timer event and let your shutdown code take care of cleaning up. That should do the same as if the user had closed down the app.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform