Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Timer interval limit
Message
De
27/04/2005 10:33:37
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Timer interval limit
Divers
Thread ID:
01008851
Message ID:
01008851
Vues:
60
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform