Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pasting in Excel occasionally randomly fails
Message
 
À
28/10/2014 08:17:34
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01609799
Message ID:
01610032
Vues:
40
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform