Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer within a timer?
Message
From
06/11/2001 18:20:52
 
 
To
06/11/2001 18:19:32
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00578290
Message ID:
00578291
Views:
25
Opps! Forgot to mention that the code is in the first timers Timer event.

>Hi,
>
>I would like to have a timer within a timer. Here is the code I've tried so far:
>
>*do some stuff
>oTimer = createobject("timer")
>WITH oTimer
>	.interval = 5000
>endwith
>* how to make oTimer start?
>* do some more stuff
>
>
>I was playing with the inkey command for a while. The reason why this wouldn't work is that there is a stop button on the form. When I click the stop button I set the first timer.enabled to false. (hopefully this would also stop oTimer)
>
>Any ideas?
>
>Thanks,
>Chris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform