Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Triggering a timer early
Message
From
04/09/2015 10:00:47
 
 
To
04/09/2015 05:45:40
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:
01624269
Views:
86
Don't put that code in the timer. Put it in a method on the form. The timer will call the form method as will the command button. When you call the code from the command button, stop the timer so it does fire while the call from the command button is running. Then, turn the timer back on.


>Hi
>
>I want to trigger a timer ony my form early whenever the user presses a command button
>
>What's the easiest way of achieving this?
>
>TIA
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform