Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can VFP know if it's idle for a period of time?
Message
 
À
08/08/2001 09:51:53
Allen Hanna
H. A. Hanna Associates
Indianola, Indiana, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00541244
Message ID:
00541255
Vues:
38
>I have several forms in an app. If there is no user interaction for 30 minutes I'd like to shut VFP6 down. Is there a way to do this without hardcoding a timer in each form that gets reset by control's interactive change, etc.?
>
>Thanks,
>Allen

There is no built in function like this... it would be nice though - I am writing one exactly like it right now.

One idea we had from a previous application was to simply have an application timer look at and store the current form and current control - then when the interval has elapsed, look at that again. If it is the same, shut down the program.

Since there is a possibility that the user could be in the same place, we are going to prompt for interaction, if there is none, we will quit.
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform