Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
KEYBOARD is clearing out textboxes
Message
De
28/12/2004 16:05:41
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00972648
Message ID:
00972700
Vues:
9
That works...thanks!


>Can you use Textbox Keypress event instead? Something like
LPARAMETERS nKeyCode, nShiftAltCtrl
>
>IF CHR(nKeyCode) = "^"
>	KEYBOARD "¢" PLAIN
>	NODEFAULT
>ENDIF	
>
>>I have a need to remap the shift 6 key to type a cent sign.
>>
>>Seemed easy enough to solve with:
>>
>>ON KEY label ^ KEYBOARD "¢"
>>
>>Unfortunately whenever a user tries to use this key in a text box, it blows away everything else in the box, like the text was all selected when they typed it.
>>
>>This is in the VFP9 beta...but I suspect it behaves this way in vfp8 as well.
>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform