Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How does timer work
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00636691
Message ID:
00637102
Views:
28
>>>>I would like to include into a proc file the ability to loop at intervals instead of just looping with a DO WHILE. I have noticed that using a do while processing is very intense and you are unable to do anything else as the system is so occupied.. On the other hand, using timer this doesn't seem to be the case.
>>>
>>>Bob,
>>>Without knowing the gruesome details, I belive the Timer control is linked to the SetTimer WinAPI function. The SetTimer function sets up timer in the OS and the OS handles the interval and countdown outside of the internal VFP processing. It is for this reason that there is no increase in VFP processing times.
>>>
>>>When the OS detects that the timer event fires, it sends a WM_TIMER message to VFP to process. That is the only time VFP gets into the mix.
>>>
>>>HTH.
>>
>>
>>Thanks Mike for the info.
>>
>
>Bob,
>Who's Mike? <s>


Sorry Larry....
Previous
Reply
Map
View

Click here to load this message in the networking platform