Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using the Shift + Tab key (backspacing)

Status
Not open for further replies.

gophertee

Programmer
Oct 11, 2000
27
US
Ok, I have a form with four text boxes. Basically you can tab all around the text boxes and use the shift+tab to backtab within. Here is the issue: When I am using the shift+tab, I want it to stop at the 1st text box. By stopping there, this would keep the text box in focus and allow the user to once again tab to the remaining ones.

What is happening is that the user will shift+tab to the 1st text box and set up the whole form to not be in focus. If we once again shift+tab it will go to the 4th text box as it should causing the form to be in focus. I want it to stop at the 1st text box. Making the user to only tab and shift+tab within the specified text boxes.

I think this is a windows thing and has nothing to do with VB. Tis the reason why I start here..
Thanks in advance!!!
T~
 
Did you try setting the other tabstop properties to false in the gotfocus event for textbox1, then resetting to true in the change event? That way you can only tab around after the first textbox has changed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top