Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Triggering a timer early
Message
 
To
04/09/2015 06:17:04
Rob Clapworthy
Bespoke Software Systems
United Kingdom
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01624258
Message ID:
01624262
Views:
65
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform