G
Guest
I have a Windows Input Form with many textboxes. I open my Form1.cs [Design],
click View->Tab Order, and set the sequence of textboxes the cursor jumps to
as the user hits the tab key. This works great.
After entering the first text box, the user will know if he needs to enter
data in boxes 2-23, or if he can skip directly to box 24. Of course, I don't
want to make him tab through boxes 2-23 if he doesn't need to go through
those boxes.
My idea is to add a button and make it the second item in the tab order. The
event handler for the button jumps the cursor to item 24. If the user tabs to
the button and hits enter, the cursor jumps to item 24. If he tabs to the
button and just hits tab again, he goes to the second text box.
Any ideas what to write in the button event handler to just the cursor to
the 24th text box?
Thanks
click View->Tab Order, and set the sequence of textboxes the cursor jumps to
as the user hits the tab key. This works great.
After entering the first text box, the user will know if he needs to enter
data in boxes 2-23, or if he can skip directly to box 24. Of course, I don't
want to make him tab through boxes 2-23 if he doesn't need to go through
those boxes.
My idea is to add a button and make it the second item in the tab order. The
event handler for the button jumps the cursor to item 24. If the user tabs to
the button and hits enter, the cursor jumps to item 24. If he tabs to the
button and just hits tab again, he goes to the second text box.
Any ideas what to write in the button event handler to just the cursor to
the 24th text box?
Thanks