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. C#
  4. how to assign auto tab function for tab index

how to assign auto tab function for tab index

Scheduled Pinned Locked Moved C#
helpdatabasetutorialquestion
3 Posts 2 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.
  • M Offline
    M Offline
    MS Lee
    wrote on last edited by
    #1

    hi people, i have a problem, i'm having a screen , in that there are 6 text boxes are there, when the form load the cursor defaultly points outs the 1st text box, and for the next sequence of tab key pressing it should focus the next text booxes(2,3,4,5,6). i did assiginig numbers(tab index numbers) to every text box, but while running the screen i cant get it by order, at form load it focus some other control then at tab key pressing it goes ramdemly, could you help?

    self confidence+hard work=SUCCESS

    D 1 Reply Last reply
    0
    • M MS Lee

      hi people, i have a problem, i'm having a screen , in that there are 6 text boxes are there, when the form load the cursor defaultly points outs the 1st text box, and for the next sequence of tab key pressing it should focus the next text booxes(2,3,4,5,6). i did assiginig numbers(tab index numbers) to every text box, but while running the screen i cant get it by order, at form load it focus some other control then at tab key pressing it goes ramdemly, could you help?

      self confidence+hard work=SUCCESS

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      Have you started tabindices from '0'?

      Avoid Google. Use Blackle[^]

      M 1 Reply Last reply
      0
      • D dan sh

        Have you started tabindices from '0'?

        Avoid Google. Use Blackle[^]

        M Offline
        M Offline
        MS Lee
        wrote on last edited by
        #3

        yeah started from "0" and asigned all other controls as in the correct order of number, but even when i try to get CurrentFocusTabId = CurrentFocusTabId.ToString(); i couldn't get the current control's tab index id :confused:

        self confidence+hard work=SUCCESS

        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