Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More on Cancel & Process stopping
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00389492
Message ID:
00389602
Views:
19
>>Stephen,
>>
>>>Ok, I seem to be reading a bunch of requests for information to stop a process. I have the same dilemma but, as mentioned here, need to limit use of DOEVENTS because of the time overhead.
>>
>>You can overcome the time overhead off the DOEVENTS by
>>
IF MDOWN() OR CHRSAW()
>>	DOEVENTS
>>ENDIF
>>It only fires when there is an event to process. This mechanism is very efficient when calling several times in a second, without loosing significant amounts of time.
>>
>>Walter,
>
>Hi Walter,
>
>And the above code would be in my button with the Cancel property?
>
>Steve

No, I think he means this code would be in your loop somewhere.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform