Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Possible bug in keypress
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01245609
Message ID:
01245668
Vues:
30
>>And what's wrong with ISALPHA([d])?
>
>I don't know since I can not work that quick on more than 10 things at once.
>
>I've tried
>
>
>LPARAMETERS nKeyCode, nShiftAltCtrl
>if between(nKeyCode, 32, 255) and isalpha(chr(nKeyCode))
>   NODEFAULT
>   DODEFAULT(Asc(Upper(Chr(nKeyCode))),nShiftAltCtrl)
>ENDIF
>
>And in quick tests didn't get errors.
>
>However, Copy-paste obviously didn't work and should be handled separately.

No, the"bug" is here only if you didn't pass second parameter:
LPARAMETERS nKeyCode, nShiftAltCtrl
if between(nKeyCode, 32, 255) and isalpha(chr(nKeyCode))
   NODEFAULT
   DODEFAULT(Asc(Upper(Chr(nKeyCode))))
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform