Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer interval limit
Message
From
27/04/2005 10:41:32
 
 
To
27/04/2005 10:33:37
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01008851
Message ID:
01008857
Views:
20
Not surprising, in a 32-bit world....


>Hi all,
>
>I am trying to do a timer countdown and did not know that the Timer.Interval has a limit value of 2,147,483,647 milliseconds. Is this limit noted in the Help file at all?
>
>I tested this under VFP8 and VFP9
>
>clear
>oT = createobject('clsTimer')
>i = 2147483647 && interval limit before generating an error.
>do while .t.
>   ? i
>   oT.interval = i
>   i = i + 1
>enddo
>define class clsTimer as timer
>   enabled = .f.
>enddefine
>
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform