Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Triggering a timer early
Message
 
À
04/09/2015 06:17:04
Rob Clapworthy
Bespoke Software Systems
Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01624258
Message ID:
01624262
Vues:
64
>Thanks Lutz
>
>I don't think I explained myself properly.
>
>I want to trigger the code in the time event early
>
>I suppose I could set the interval to a very small value and reset it back when the code has run?

Just call the method:
...
thisform.Timer1.Enabled = .f.

thisform.Timer1.Timer()

thisform.Timer1.Reset()
thisform.Timer1.Enabled = .t.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform