Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
THISFORM.Release if idle?
Message
 
À
09/12/1997 15:43:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00064783
Message ID:
00064789
Vues:
33
>>I want to close down a form after it has been inactive for a certain period of time. I'm assuming I should use a timer but I'm not sure how to use it properly to capture this situation. Any ideas?
>
>*** Timer.Timer event
>IF ABS(seconds()-thisform.seconds)>1200 && check every 20 min.
> Release Thisform
>ENDIF
>*** ControlX.InteractiveChange event (or something else)
>Thisform.seconds=seconds()

The Timer event and Seconds property I understand but I need some clarification on the ControlX. Do you mean I should have a particular object to update Thisform.Seconds or do I need to update it from every object?
Colin Magee
Team Leader, Systems Development
Metroland Media Group Ltd.
Mississauga, Ontario, Canada

cmagee@metroland.com

Never mistake having a career with having a life.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform