Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set timer to fire on every 15 minute interval
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01373570
Message ID:
01373578
Vues:
10
Correction:

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 INT(MINUTE(datetime())/15 )=MINUTE(datetime)/15
      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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform