Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inactivity Timer
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00009354
Message ID:
00009488
Views:
54
>>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/
Previous
Reply
Map
View

Click here to load this message in the networking platform