Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing a Preview (w/o printing)
Message
From
05/08/2004 20:00:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00931145
Message ID:
00931194
Views:
28
>>I think you might have SET ESCAPE ON.
>
>Yes, and that is the desired behavior for this application. Pressing escape closes forms, etc. in the least destructive way, i.e. without saving or not executing a selection. Is there a way of working around this?

Pressing ESC might also interrupt a running SQL statement, or any procedure, for instance.

I think you should SET ESCAPE OFF, and then specifically check for ESC in the form, and take the corresponding actions (TableRevert(), etc.).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform