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

Click here to load this message in the networking platform