Results 1 to 2 of 2

Thread: VB - Quick and easy way to set tab selection order (Tabindex)

  1. #1

    Thread Starter
    Fanatic Member BrianHawley's Avatar
    Join Date
    Aug 2001
    Location
    Saudi Arabia
    Posts
    796

    VB - Quick and easy way to set tab selection order (Tabindex)

    The Tabindex number of a control determines the order in which controls are selected on a form when the user presses the tab control.

    Most newbies start out by numbering the first control Tabindex 1, and then progressing through the form.

    An easier way is this:

    Go through the controls in REVERSE order, setting the Tabindex of each to 0 (zero). VB helpfully numbers them for you. Can be done very quickly with the mouse and one finger on the '0' key.
    Brian
    (Fighting with the RightToLeft bugs in VS 2005)

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: VB - Quick and easy way to set tab selection order (Tabindex)

    A good idea is to lock the position of your controls while you do that, otherwise clumsy people like me will end up with their controls scattered all over the form when doing it quickly. Tick Format->Lock Controls, and then you won't move any controls using the mouse.

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