Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Escaping
Message
 
To
25/08/1998 18:18:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00129896
Message ID:
00129901
Views:
23
You can trap the ESC key in the form's keypress event:
if nKeyCode = 27
    nodefault
    thisform.release
endif
>I have a nice application that requires the user to use the close form button to close down any open form. I tie the escape key to the cancel button. Now they want to have the Escape key leave the form if the cancel key is deactivated.
>
>I'm trying to use ON ESCAPE but it does not seem to fire if the user is on a pageframe. Any ideas how to do this?
>
>Thanks
>
>John Brooks
kenweber
GCom2 Solutions
Microsoft Certified Professional

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform