option explicit
dim xx as integer
private sub command1_click()
me.timer1.enabled = true
command1.enabled = not command1.enabled
command1.caption = 3
end sub
private sub form_load()
timer1.enabled = false
end sub
private sub timer1_timer()
if xx = 3 then
timer1.enabled = false
command1.enabled = true
command1.caption = "ok"
xx = 0
else
command1.caption = command1.caption - xx
xx = xx + 1
end if
end sub