Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Possible bug in keypress
Message
 
À
02/08/2007 15:06:16
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:
01245630
Vues:
20
>I have created a textbox baseclass which I use whenever I want only uppercase text. The code in Keypress is/was as follows
>LPARAMETERS nKeyCode, nShiftAltCtrl
>if IsAlpha(Chr(nKeyCode)) && and nKeyCode=>0 && Remove the first && to see the bug
>  DoDefault(Asc(Upper(Chr(nKeyCode))))
>  NoDefault
>EndIf
Just tested it. No matter where you put NODEFAULT, BUT you MUST pass the second parameter to DODEFAULT(). So it is not a VFP bug it is yours :-)
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
Répondre
Fil
Voir

Click here to load this message in the networking platform