Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trapping the Backspace Key
Message
De
13/08/1999 13:00:25
 
 
À
13/08/1999 12:57:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00253434
Message ID:
00253491
Vues:
30
>>>
*KeyPress
>>>
>>>Thisform.nLastKey = nKeyCode
>>>
>>>*Valid
>>>
>>>return !thisform.nLastKey = 127
Would this be right?
>>
>>I'm not sure my tendency would be to.
>>

>>LPARAMETERS nKeyCode, nShiftAltCtrl
>>IF nKeyCode = 127 AND THIS.SelStart = 0
>> NODEFAULT
>>ELSE
>> DODEFAULT()
>>ENDIF
>
>You don't need a DODEFAULT() here. If you do, you'll get the keystroke echoed twice.

That's true. Thanks for the correction.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform