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:
01048090
Views:
18
>thanks Vladimir, your reply
>vladimir, i want timer control start when my last momment close.
>e.g if i start movement again time start again and close after 30 sec.
>i also try with inkey command but do not solve.


Khubaib,
write in thisform.click
thisform.timer1.Reset
Reset metod resets the Timer control so that it starts counting from 0.
After every action in the form the counting begin from 0.

Delete the code in thisform.click if you want in general the form stay only 30 secs.
_______________________________________________________________
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
Reply
Map
View

Click here to load this message in the networking platform