Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keypress - always lowercase
Message
 
 
To
25/12/2008 10:01:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01369649
Message ID:
01370062
Views:
30
Could it be that in your subclass you were missing dodefault ?

>Tore --
>
>DoDefault(...) did nothing -- it swallowed the keystrokes. I assume it was because this was in a subclass.
>
>Thanks
>
>>This is code I have used for years:
>>
if Between(nKeyCode, 32, 255) and IsAlpha(chr(nKeyCode))
>>   NoDefault 
>>   DoDefault(Asc(Lower(Chr(nKeyCode))),nShiftAltCtrl)
>>EndIf
>>
>>>What code do you put in Keypress to convert all uppercase characters to lowercase?
>>>
>>>Thanks
>>>
>>>Merry Christmas
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform