|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
timer event question
hi friends,
i have one timer control whose timer event gets fired after every 10 seconds. in the timer event i am calling one function The same function is called on submit button. i want to ask that suppose the user has clicked the button after 3 seconds of the timer event being fired so will the timer event get again fired after 7 seconds or will it wait for another 10 seconds coz in between button was clicked. i hope u all got what i wanted to ask |
|
#2
|
|||
|
|||
|
It depends on your code. The button click has nothing to do with the timer event.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
||||
|
||||
|
Hey i know button click has nothing to do with timer event. But i want to ask something else
See the timer event gets fired after every 10 seconds. I m calling same function on timer event and on button click. SO what i want that after the button is clicked the timer should start counting from 0. i tried Timer.Reset but it gives me error as "Invalid Qualifier" Please help me ITs urgent Thanx in advance Quote:
|
|
#4
|
|||
|
|||
|
To reset a timer
timer1.Enabled=false timer1.Enabled=true ![]() |
|
#5
|
||||
|
||||
|
Quote:
Thanx have done this. Its working. |
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > timer event question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|