Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trapping the Backspace Key
Message
De
13/08/1999 12:17:41
 
 
À
13/08/1999 12:06:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00253434
Message ID:
00253445
Vues:
37
>Hello everybody-
>A quick question for the sages. How can I best trap the backspace key in a textbox so that after the text is fully deleted the textbox does not lose the focus? I only want the focus to move to the previous control by using the mouse or shift-tab.

In the KeyPress event:
IF nKeycode = 127 && backspace
*   Do whatever
    NODEFAULT
ENDIF
Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform