Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping the Backspace Key
Message
From
13/08/1999 15:10:56
 
 
To
13/08/1999 12:48:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00253434
Message ID:
00253612
Views:
34
>
*KeyPress
>
>Thisform.nLastKey = nKeyCode
>
>*Valid
>
>return !thisform.nLastKey = 127
Would this be right?

It depends on what he wants to do with it. I understood him to be asking how to trap the keystroke so he could do whatever he wants to do with it. Generally if he just wants to discard the keystroke, I would do as Dan indicated, just use NODEFAULT to throw out the keystroke.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform