Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting the Enter Key to behave like the tab key
Message
From
04/05/2001 10:26:34
 
 
To
04/05/2001 09:49:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00503461
Message ID:
00503488
Views:
21
Hi Larry,

Well, if a CommandButton or some other controls like that have focus, then the Enter button is going to act as a Click unless you play around with the KeyPress event. For Textboxes, as long as you don't have any controls set with the Default property true, Enter will work as Tab.

However, this is flying in the face of UI standards and it's going to be difficult to maintain Enter as Tab for all types of forms. I'd advise against going that route.

>Hi,
>
>In certain forms of ours when a users presses their enter key the curosr behaves as if it where on a on of the tab within the form. How do we make certain that the enter key behaves the same way as the tab key?
>
>larry
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform