+ Reply to Thread
Results 1 to 3 of 3

Tab issue with form textboxes

  1. #1
    Registered User
    Join Date
    10-24-2005
    Posts
    55

    Tab issue with form textboxes

    Hi

    Just come across this issue with the tab key. Me and other users of the forms use the tab key to move the cursor from text box to text box. But with one of my forms (not tried the rest) when you use the tab key it start and textbox1, jumps to textbox2 then jumps textbox5 miss textbox3 that is under No.2....... then jumps to the command button then back up again to textbox7. Any way to cure this??

    Textbox 4 is missing, i must of deleted this

    RAW

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello raw,

    Every object on a UserForm has a TabIndex property that controls the order of object focus. The index starts at zero and goes up. You can change an objects TabIndex number to alter when the object receives the focus. Click on the TextBox and look in the Properties page to see what the current TabIndex is, and check the others as well. You need to make your text boxes TabIndex numbers sequential (0,1,2,3,etc).

    Sincerely,
    Leith Ross

  3. #3
    Forum Contributor
    Join Date
    11-23-2005
    Location
    Perth, Australia
    Posts
    218

    Tab issue with form textboxes

    If you have a lot of textboxes etc on your form, an easy way of changing the tab order is go to the view menu and select tab order. You can move these up or down etc(this automatically changes the TabIndex), this saves you going through each control on the form and looking at the TabIndex and making sure theyre sequential etc

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1