Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cancel Button
Message
From
29/11/2000 19:30:09
 
 
To
29/11/2000 17:50:34
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Miscellaneous
Thread ID:
00447090
Message ID:
00447127
Views:
14
>In a FoxPro 2.6 Windows application, when start a program that could run a long time, how do you interrupt the program by pushing a "Cancel Button" ?, I do not know what to check for when the cancel button is pushed.
>
>Thanks in advance

Pushing the Cancel button, provided it has the \? string in it's setting, will set lastkey() to 27 ie it's as if the escape key is pressed. You must have the prompt defined as say "\?Cancel"
HTH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform