Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Validing Keystrokes in an Input field
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00317341
Message ID:
00317540
Views:
13
>Valid Characters are in are "ABCD12340.()+"
Mathias,

In the KeyPress put this code;
IF NOT CHR(nKeyCode) $ "ABCD!@#$).()+"
   ?CHR(7)   && Beep
   NODEFAULT && Ignore key stroke
ENDIF
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform