vb.net Windows Form Tab Key

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • vmuntean@ball.com

    vb.net Windows Form Tab Key

    Hello,

    I've been trying to find an answer to this for quite some time but I
    haven't been able to.

    I created a vb.net application which it contains a windows form with
    several text boxes. I want the user to be able to press the Tab key to
    move from textbox to textbox.

    I know that in vb6 by setting the tabstop to True and setting the
    TabIndex you could do that easily. But this does not seem to work in
    vb.net. I tried playing with key events and such but no luck.

    Did they remove the user's ability to Tab through text boxes in vb.net
    or am I missing something?

    Thank you very much,
    Vlad
  • Cor Ligthert[MVP]

    #2
    Re: vb.net Windows Form Tab Key

    What version of VS do you use,

    In VS2002, 2003, 2005 and 2008 I only set the tabindex and it does what it
    should do for me, going from index to index when the tab key comes up.

    Cor

    Comment

    • vmuntean@ball.com

      #3
      Re: vb.net Windows Form Tab Key

      I just checked, and I am not using any keyup, keydown or keypress
      events. I am using VS2003 (but I see the same issue with VS2005). What
      I am actually doing is creating a SolidWorks add-in. I wonder if that
      is the culprit, since I just created a simple project with a form and
      it tabbed between the textboxes just fine !?

      I also checked and all the settings are identical for the newly
      created form not linked to the add-in and the one I am having problems
      with.

      Thank you,
      Vlad



      On Feb 15, 9:17 pm, "Cor Ligthert[MVP]" <notmyfirstn... @planet.nl>
      wrote:
      What version of VS do you use,
      >
      In VS2002, 2003, 2005 and 2008 I only set the tabindex and it does what it
      should do for me, going from index to index when the tab key comes up.
      >
      Cor

      Comment

      Working...