tab questions

  • Thread starter Thread starter CCB
  • Start date Start date
C

CCB

I have a form with multiple tabs on it. How do I have the form proceed to
the next tab once the first tab has been completely filled out? I'd like to
have a Next button that becomes active once the first tab is satisfied and
lets the user click to the next tab.
 
CCB said:
I have a form with multiple tabs on it. How do I have the form proceed to the
next tab once the first tab has been completely filled out? I'd like to have a
Next button that becomes active once the first tab is satisfied and lets the
user click to the next tab.

If you are going to make them "click" on something like a button, why not just
have them click on the Tab?

If you want something that will operate from the keyboard I usually place a very
small (but visible = true) TextBox on each TabPage and in its GotFocus event use
a line of code to set focus to the next TabPage. If you make this last in the
TabOrder on a TabPage then tabbing out of the last "normal" control will result
in them being taken to the next control you specify.
 
Back
Top