Thread: Changing Tab Order

  1. #1
    Registered User
    Join Date
    Nov 2001

    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.


  2. #2
    Registered User
    Join Date
    Nov 2001
    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, 01: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, 11:11 AM