Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pasting in Excel occasionally randomly fails
Message
 
To
28/10/2014 08:17:34
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01609799
Message ID:
01610032
Views:
41
I think both you and Gregory are correct, as it will depend on the value of AutoYield

"Specifies whether an instance of Visual FoxPro processes pending Windows events between execution of each line of user program code."

The question I am not sure about the answer is if the foxpro timer creates a windows event or not. (I always assumed it is, I think it is much safer to think this way and following this assumption I never write code in a timer that uses data in the current data session, I will use a data session object inside the timer if I need to manipulate data)

[UPDATE]
Actually I think you are right Jim, I've been living a lie! code is not interrupted by a timer, I just created a program with a timer and some FOR loops, and if I do not put DOEVENTS inside the loop, the timer never fires, shame on me!
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform