Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Edit box class - user press enter - leave box
Message
From
14/06/2007 16:09:12
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01233227
Message ID:
01233269
Views:
8
>>And just to add - you may move your UPPER case logic into this method as well instead of InteractiveChange, e.g.
>>
>>
>>IF between(m.nKeyCode, 97, 122) && a - z
>>   NODEFAULT
>>   nKeyCode= m.nKeyCode - 32 && a -> A
>>   DODEFAULT(m.nKeyCode, m.nShiftAltCtrl)
>>ENDIF
>>
>>
>
>
>Thank you, but I don't need it :o)))
>Also what will we do when we write on Cyrillic?
if between(nKeyCode, 64, 255) and isupper(chr(nKeyCode))
You only need to compile the code which does that in the codepage of your choice - presumably 1251. I tried with žšđčć and ŽŠĐČĆ, and it recognized each one of them properly - my cpcurr() is 1250.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform