Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set timer to fire on every 15 minute interval
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01373570
Message ID:
01373578
Views:
13
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform