Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Format control in text boxes
Message
From
02/02/1999 16:35:08
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00172977
Message ID:
00183164
Views:
26
Rich, Bob-
That's what I thought, too, Rich, until I tried it. Can't do backspace, delete, or left/right arrow, hyphen... See what I mean? < s >

>Rather than trapping all the disallowed ones, it sounds like in Bob's case the code should be like
>
* Allow only digit or uppercase alpha:
>IF NOT ( BETW(nKeyPress,48,57) OR BETW(nKeyPress, 65, 90) )
>    NODEFAULT
>ENDIF
>much simpler than a case for each non-allowed character, if I understood correctly that's what you were suggesting.
>
>My US$.02 (or less),
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform