Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enter Key
Message
From
02/02/1999 12:13:15
 
 
To
02/02/1999 12:05:26
Ian Matthews
Up & Running Technologies Inc
Chestermere, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00182988
Message ID:
00182995
Views:
12
>How can I set the ENTER key to act as a TAB?
>
>Currently when users complete a field and press ENTER the next BUTTON in the TAB ORDER is pressed. I would like them to move to the next field in the TAB ORDER.
>
>There must be some overriding system setting like KEYCOMP to adjust this behaviour but I can not locate it.

I don't think that button gets pressed (may be you press ENTER two times instead of one). You can intercept ENTER key in control.keypress event and replace it with other key there, e.g.
IF nKeycode=13
KEYBOARD '{TAB}'
ENDIF
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform