Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activate Event and Timers
Message
De
10/06/2011 14:06:25
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01514015
Message ID:
01514055
Vues:
63
>Hi Gang!
>
>Question.....
>
>If I have a Timer running on a form, and it is processing, and an ACTIVATE event on the form fires, does the Timer finish first, then the Activate runs, or does the Activate immediately take over from the Timer, does it thing, then the Timer continue on from where it was last at ?
>

I'm reasonably sure that, as long as the two events are part of the same EXE, you'll finish the Timer code before the Activate fires.

What I have seen in one app that uses a VFP EXE and several VFP COM objects is that when one VFP app calls a method of another, it can interrupt code in the called app. That is, if MainApp is running MainMethod() and ComApp calls MainApp.SomeMethod(), MainMethod gets interrupted until SomeMethod is done.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform