Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Key Press Event
Message
From
09/12/1999 22:54:43
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00301498
Message ID:
00301514
Views:
25
>I'm trying to build a txtbox that only accept numbers and ?,* symbols and esc,backspace,home,end,enter etc (no letters).
>How can i delete de key value from the buffer so if it's not one of the above, doesn't include in the txtbox.value.


If they character isn't one that you want, use NODEFAULT. It will keep the textbox from processing the keystroke. For example:

IF Alpha
NODEFAULT
ENDIF
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform