Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keypress - always lowercase
Message
From
25/12/2008 09:57:52
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01369649
Message ID:
01369709
Views:
31
Thanks yet again, Sergey, that did the trick.

>Try
>
>	PROCEDURE text1.KeyPress
>		LPARAMETERS nKeyCode, nShiftAltCtrl
>		*DODEFAULT(Asc(Lower(Chr(nKeyCode))), nShiftAltCtrl)
>		Textbox::KeyPress(Asc(Lower(Chr(nKeyCode))), nShiftAltCtrl)
>		NODEFAULT 
>	ENDPROC
>
>
>>
>>Curiously, when I put your code into my Textbox.Keypress, all keystrokes get ignored.
>>
>>Could it be that because this textbox is a sub-class of some basetextbox, this causes problems?
>>
>>In any case, this is an after-Christmas problem ... time to quit until Monday.
Jim Nelson
Newbury Park, CA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform