Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set timer to fire on every 15 minute interval
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Set timer to fire on every 15 minute interval
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01373570
Message ID:
01373570
Vues:
56
need to set a timer to fire on every 15 minute interval. (ie: 1:00 , 1:15, 1:30 etc.)
It seems the paint event fires every 1 second and the following code is in the
paint event of the form
IF EMPTY(this.timercontrol.interval) and MINUTE(datetime())/15 = INT(MINUTE(datetime()))
      this.timercontrol.interval = 15*60*1000
ENDIF
Question I have is there any issues to be concerned about with setting the timer from the Paint event of the form?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform