Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to disable the Enter Key
Message
From
22/08/2002 11:53:24
 
 
To
22/08/2002 08:24:01
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00692384
Message ID:
00692495
Views:
14
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform