Changing Tab Order

This is a discussion on Changing Tab Order within the Windows Programming forums, part of the Platform Specific Boards category; I have created a form in Visual Basic with multiple text box controls. I need to change the tab order ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    24

    Changing Tab Order

    I have created a form in Visual Basic with multiple text box controls. I need to change the tab order so that the focus goes sequentially down the list of text boxes on the form when I press the tab key on the keyboard. Does anyone know how to do this in Visual Basic? I know how to do it in Visual C++ but can't seem to figure it out in Visual Basic.

    Any clues will be appreciated.

    Tesita

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    12
    In VB we've a TabIndex property for every visible control. it can have values starting from 0.
    You can modify the value of this property accordingly for any control to change its Tab Order.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Embedded SQL Order By
    By cjohnman in forum C Programming
    Replies: 12
    Last Post: 04-15-2008, 03:45 PM
  2. changing alphabet order
    By firipu in forum C Programming
    Replies: 2
    Last Post: 12-17-2007, 12:56 PM
  3. Getting tab stops to work
    By jverkoey in forum Windows Programming
    Replies: 4
    Last Post: 07-06-2003, 02:27 PM
  4. Replies: 5
    Last Post: 06-30-2003, 12:52 PM
  5. Umm, how do I tab over a whole bunch of code?
    By funkydude9 in forum C++ Programming
    Replies: 1
    Last Post: 12-23-2002, 10:11 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21