Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Set tab stop in vb.net [modified]

Set tab stop in vb.net [modified]

Scheduled Pinned Locked Moved Visual Basic
csharpquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    New_Coder
    wrote on last edited by
    #1

    If I have 10 text boxes text1, text2, text3 ... text10 and a "start over" button I want to be able to click the start over button and have the cursor jump to text2 no matter where it is in the tab sequince. Start at text1, (TAB) go to text2 (TAB) go to text3 (TAB) go to text4 (TAB) go to text5 (TAB) go to text6 Push "start over" button Change text in text2 (TAB) go to text3 Is this possable? :confused::confused: -- modified at 15:20 Tuesday 6th June, 2006

    K U 2 Replies Last reply
    0
    • N New_Coder

      If I have 10 text boxes text1, text2, text3 ... text10 and a "start over" button I want to be able to click the start over button and have the cursor jump to text2 no matter where it is in the tab sequince. Start at text1, (TAB) go to text2 (TAB) go to text3 (TAB) go to text4 (TAB) go to text5 (TAB) go to text6 Push "start over" button Change text in text2 (TAB) go to text3 Is this possable? :confused::confused: -- modified at 15:20 Tuesday 6th June, 2006

      K Offline
      K Offline
      Kschuler
      wrote on last edited by
      #2

      Try this in the click event of your start over button: text2.focus()

      N 1 Reply Last reply
      0
      • N New_Coder

        If I have 10 text boxes text1, text2, text3 ... text10 and a "start over" button I want to be able to click the start over button and have the cursor jump to text2 no matter where it is in the tab sequince. Start at text1, (TAB) go to text2 (TAB) go to text3 (TAB) go to text4 (TAB) go to text5 (TAB) go to text6 Push "start over" button Change text in text2 (TAB) go to text3 Is this possable? :confused::confused: -- modified at 15:20 Tuesday 6th June, 2006

        U Offline
        U Offline
        User 2269706
        wrote on last edited by
        #3

        My dear friend for each textbox right click Select Properties u will fine TabIndex Property select Text1 change the TabIndex Property to 1 select Text2 change the TabIndex Property to 2 select Text3 change the TabIndex Property to 3 ............ : : :

        1 Reply Last reply
        0
        • K Kschuler

          Try this in the click event of your start over button: text2.focus()

          N Offline
          N Offline
          New_Coder
          wrote on last edited by
          #4

          Thanks that is what I was looking for.:-O

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups