Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to disable the Enter Key
Message
De
22/08/2002 11:53:24
 
 
À
22/08/2002 08:24:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00692384
Message ID:
00692495
Vues:
13
You could subclass the particular controls you need this behavior and in the Keypress event you could place:
IF ( nKeyCode = 13 OR nKeyCode = 5 )  && Enter key, Up arrow, etc.
    NODEFAULT
ENDIF
Might require some tweaking for particular scenarios but that's the basic idea.

Bill

>As we know the user can navigate thro the controls with TAB, arrow keys and Enter. Is there any way to disable this capability for the enter key and the Up And Down arrow keys ???
>Thank You
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform