Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timer interval limit
Message
From
27/04/2005 10:33:37
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Timer interval limit
Miscellaneous
Thread ID:
01008851
Message ID:
01008851
Views:
59
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
ramil
~~ learning to stand still
Next
Reply
Map
View

Click here to load this message in the networking platform