Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close form after 30 second of no usage
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01048017
Message ID:
01048035
Views:
21
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform