:o:o:o..
i dont know how to handle timer in this situation..
if timer reach 5 seconds then
something.visible = true
end if
if timer reach 7 seconds then
something.visible = false
end if
what is the exact code on timer reach seconds then?
:confused:
Printable View
:o:o:o..
i dont know how to handle timer in this situation..
if timer reach 5 seconds then
something.visible = true
end if
if timer reach 7 seconds then
something.visible = false
end if
what is the exact code on timer reach seconds then?
:confused:
Declare any integer variable..
For example
Just define 1000 ms for your timer interval..Code:Dim secs as integer
secs=0
private sub Timer1_Timer()
secs=secs+1
if secs=5 then
something.visible = true
elseif secs=7 then
something.visible = false
endif
end sub
i does not work..
have you try this code?
and
where can put the declaretion?
is it inside the timer sub?
No.. You should not put inside the Timer_ sub..
You can put inside Form_load or any other event..
thanks raizer it works now
i put
secs = 0 inside the form load..