CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2000
    Location
    Hong Kong
    Posts
    94

    How to control the sequence of Tab key for the input text box.

    Hi here I have ten text box and some button.
    Because some of then I change and modify latter. So when I use the TAB key, it can not go in the order I want.It was mixed up. How can I assign the TAB sequency to the ten box.

    Millions of thanks in advance

    wky086

  2. #2
    Join Date
    Apr 2000
    Posts
    737

    Re: How to control the sequence of Tab key for the input text box.

    check the property .TabIndex of the textbox or button.

    setting the .TabIndex = 0 means it is the first .TabIndex = 1 the second and so on

    HTH

    cksiow
    http::/vblib.virtualave.net - share our codes


  3. #3
    Join Date
    Jun 1999
    Posts
    12

    Re: How to control the sequence of Tab key for the input text box.

    In each text box you have the TabIndex property.
    So, use this property to set the Tab sequence with values, to give you the order you want.First is zero, next is 1 and so on...


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured