Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Read Events Loop
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00070669
Message ID:
00091722
Vues:
26
>>>Can someone help me with events checking? I want to check for user activity of any kind during execution of the application. Is there an
>>>app property to look at? The only thing in the books are usage of event tracking dialogs that I'm not interested in right now. I need to terminate my app after x minutes of non-activity.
>>>
>>>Eric Kleeman
>>>Chaweng Buri Resort
>>>Koh Samui Thailand
>>
>>try using the timer. it's been awhile, but i think we
>>
>>1. add timer object to screen
>>2. when keypress, restart timer.
>>3. if timer expires, close app.
>
>Hey Dave,
>
> How can I check to see if the timer event has fired, or, can I add event code at runtime? I am adding a timer to an application object with code, not in the form designer... Can I do it?
>
>Eric

you would add w/ code to the _screen, can't do it with form designer. add code to the timer event (_screen.timer1.timer)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform