Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trapping the Backspace Key
Message
De
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:
00253486
Vues:
42
>>
*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.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform