Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keyboard command not working?
Message
From
16/10/1996 14:47:20
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00010223
Message ID:
00010225
Views:
35
>Has anyone successfully used the command:
>
>keyboard upper(chr(nkeycode)) &&nkeycode init to 0
>
>in VFP/Win 95 for textbox input? I used this back in FPW 2.6, without trouble, as I recall. I've tried putting it various places but to no avail, lower case input still shows up lower. I'm using table buffering. What am I doing wrong?
>

in the keypress event

param tnKeyCode,tnALTSHIFTCTRL
local lnUpperKeCode
lnUpperKeycode=asc(upper(chr(tnKeyCode))
textbox::keypress(lnKeyCode,tnALTSHIFTCTRL)
nodefault

or something similar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform