Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edit box class - user press enter - leave box
Message
De
14/06/2007 16:09:12
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01233227
Message ID:
01233269
Vues:
7
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform