General information
Category:
Coding, syntax & commands
>At the end of one of my event, I have oApp.oTimer.Enabled=.T.
>
>This will activate oApp.oTimer.Timer() event.
>
>The problem is that I need to make sure the event, which activates the timer, need to be finished before the oApp.oTimer.Timer() event occur.
>
>Right now, the oApp.oTimer.Timer() event is starting while the prior event is not released from memory.
The first timer event occurs after the first time slice. So, one solution is to set your timer interval big enough to be sure the other event is finished. You can reset the timer interval in the Timer event, first time it occurs.
Second solution: use a flag, if possible.
Also: Activate your timer as last action in calling event.
Vlad
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only