Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inactivity Timer
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00009354
Message ID:
00009488
Vues:
53
>>Call a method you made (ie) MyTimer(). Loop & in the loop check a property you make (ie) KillTimer (among others). Have the KeyPress() method set the value of KillTimer.
>>
>>HTH
>>Tom
>
>It's not so simple. First, I must modify all the classes. (Not only for the keyboard, but also for the mouse.) Second, what if a query, report or anything else stops the timer more than the established delay? The app is not inactive, but will be close as soon as the action finishes.

Vlad

No matter what you do there will always be an exception. Thats why I suggested 2 things. One, a long delay -- ie 15 minutes. If a process takes that long your in trouble anyway (s). second, read the system clock. No matter what process occurs the system clock will be the best guage.

Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform