Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inactivity Timeout
Message
From
25/09/2006 13:20:31
 
 
To
25/09/2006 12:16:00
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01156931
Message ID:
01156992
Views:
21
>>Has anyone coded an inactivity timeout in their VFP app? I have a couple of ideas, but they have holes in them. I'm thinking of setting a variable to datetime() and using a timer (about once a minute) to check if the allowable time has passed. The problem, of course, is how to reset the variable that holds datetime() whenever user activity happens. I can use the forms' mousemove and keypress (with keypreview) events to update the variable. But it would probably also mean having to code into the mousemove and keypress events of every base control.
>>
>>Anybody done this a more sensible way maybe using the windows API?
>
>Not Win API but it can work ...
>
>Re: Auto close feature Thread #977685 Message #977686
>
>Re: Automatically Shut down application if not used Thread #800554 Message #800722

Thanks they look like something I should have thought of myself but didn't. Seems useable.
Previous
Reply
Map
View

Click here to load this message in the networking platform