Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Timer control

Status
Not open for further replies.

newbie1983

Programmer
Sep 9, 2003
52
GB
Hi,

How can i change the timer control interval property during runtime?

i.e tmrtimer.interval = ?

Kind regards

Hinesh
 
Hello Hinesh.

You could have a try with a command button on your user form.

Sub CommandButton1_Click()
tmrtimer.interval = whatever
End Sub

[pipe]
MakeItSo

Andreas Galambos
EDP / Technical Support Specialist
Bowne Global Solutions Wuppertal, Germany
(andreas.galambos@bowneglobal.de)
HP:
 
You can change the interval from anywhere within your application. Even in the timer control routine itself. i.e.

Private Sub Form_Load()

tmrtimer.interval = 100

End Sub

Private Sub tmrtimer_Timer()

tmrtimer.interval = 20000

Exit Sub

[gray]Experience is something you don't get until just after you need it.[/gray]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top