Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ESC for exit the Form
Message
From
09/04/2000 23:54:48
Lawrence De Grano
Computer Craft Corporation
Makati, Philippines
 
 
To
30/03/2000 18:02:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00352969
Message ID:
00357430
Views:
16
>The user can close the form with CTRL+F4 or clicking the upper right corner or object with "ThisForm.release()" code.
>How could I make that the "ESC" would have the same effect?
>
>Thank's, Zlatko.

Dear Zlatko,

Just go into the KeyPress Event of the form and execute the following:

IF nKeycode=27
Release Thisform
ENDIF
Inzo
Previous
Reply
Map
View

Click here to load this message in the networking platform