Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KEYBOARD is clearing out textboxes
Message
From
28/12/2004 16:05:41
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00972648
Message ID:
00972700
Views:
8
That works...thanks!


>Can you use Textbox Keypress event instead? Something like
LPARAMETERS nKeyCode, nShiftAltCtrl
>
>IF CHR(nKeyCode) = "^"
>	KEYBOARD "¢" PLAIN
>	NODEFAULT
>ENDIF	
>
>>I have a need to remap the shift 6 key to type a cent sign.
>>
>>Seemed easy enough to solve with:
>>
>>ON KEY label ^ KEYBOARD "¢"
>>
>>Unfortunately whenever a user tries to use this key in a text box, it blows away everything else in the box, like the text was all selected when they typed it.
>>
>>This is in the VFP9 beta...but I suspect it behaves this way in vfp8 as well.
>>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform