Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timing out
Message
De
21/05/1998 09:08:08
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
21/05/1998 07:55:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00100666
Message ID:
00100771
Vues:
43
>>>Application for hospital laboratory that requires password for entry.
>>>If there is no "activity" for 3 min (for example) is there a way to program "cut out" to a level or screen that would again require a password for reentry?
>>You could use a timer class with a custom property tLastActivity to store datetime of last activity. If no activity for a given period its timer event would call form(set) release after a cleanup.
>>Cetin
>
>Or, just call the reset() method of the timer for the appropriate form events (mousemove, gotfocus, click, etc...). This should work the same, no?
>
>Paul M.
Paul,
If you use a menu, I think it would be easier to use skipfor (just timer.reset and return .t. on a pad). Because that would prevent to add code to so many controls and called as often as necessary (with every refresh at least AFAIK).
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform