Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close form after 30 second of no usage
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01048017
Message ID:
01048035
Vues:
20
>close form after 30 second when not use
>i want to close a form or run any command after 30 second when form is not using.(after using 30 secnod)
>i try with timer. but timer not start after 30 sec. Its start promat.
>How?? thanks

Khubaib,
one way is the Alex's replay.

The most simple example for one form is:
1. Insert timer control in the form;
2. Set interval property to 30000;
3. Put this in timer event thisform.release
4. Put this code in click event of the form thisform.timer1.Reset

HTH
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform