>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