Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keypress - always lowercase
Message
 
 
À
24/12/2008 14:08:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01369649
Message ID:
01369666
Vues:
28
This message has been marked as the solution to the initial question of the thread.
Try
	PROCEDURE text1.KeyPress
		LPARAMETERS nKeyCode, nShiftAltCtrl
		*DODEFAULT(Asc(Lower(Chr(nKeyCode))), nShiftAltCtrl)
		Textbox::KeyPress(Asc(Lower(Chr(nKeyCode))), nShiftAltCtrl)
		NODEFAULT 
	ENDPROC
>
>Curiously, when I put your code into my Textbox.Keypress, all keystrokes get ignored.
>
>Could it be that because this textbox is a sub-class of some basetextbox, this causes problems?
>
>In any case, this is an after-Christmas problem ... time to quit until Monday.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform