Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KeyPress and Tabbing
Message
From
05/01/2009 09:24:29
 
 
To
05/01/2009 09:18:21
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01370992
Message ID:
01370997
Views:
23
>Is there a way to force the focus to go to the next object in the KeyPress event of a textbox if TAB is pressed? nKeyPress = 9, but what do I do to make it jump to the next object on the form?

You can use SetFocus and Nodefault, e.g.
If nKeyCode=9
  Thisform.Control1.Setfocus
  Nodefault
Endif
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform