Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Edit box class - user press enter - leave box
Message
 
 
À
20/06/2007 04:28:02
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:
01234478
Vues:
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
>>
>>
>>They key point is to have NODEFAULT in the code.
>>
>
>But this doesn't UPPER a Paste (ctrl+v) string.
>

Very good point, thanks a lot! So, we have a flaw in our class logic, which we overlooked. I'll pass that to my former colleagues.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform