Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing KeyPress value
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00046080
Message ID:
00046124
Views:
21
>In a text object's KeyPress event, how do I change the value of the keycode before it gets placed in the objects value?
>
>Thanks in advance,
>Mike

This was what we received from the same type question before when we wanted to change case of
a character in a text object to upper, HIH:


The code in the keypress event becomes;

IF nKeyCode >= 97 and nKeyCode <= 122
NODEFAULT
KEYBOARD UPPER(CHR(nKeyCode))
ENDIF
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Reply
Map
View

Click here to load this message in the networking platform