Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keypress Syntax
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Keypress Syntax
Miscellaneous
Thread ID:
00020037
Message ID:
00020037
Views:
101
Does someone know the correct syntax for keypress event if I want to have only a set of characters allowed, say
for example (1,2,a,b,*,#) in a textbox?

Something like:
if inlist(chr(nkeycode),'1','2',etc)

or !inlist() is better?
what is the best way to do this?
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Next
Reply
Map
View

Click here to load this message in the networking platform