Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Activate Event and Timers
Message
From
10/06/2011 14:06:25
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01514015
Message ID:
01514055
Views:
62
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform