Results 1 to 13 of 13

Thread: Tabindex

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Tabindex

    I have webform including 10 user controls.
    Each controls includes 5 textboxes with values to be entered and 3 result textboxes.

    How do I make a tabindex which goes to next user control when the first 5 textboxes has been tabbed? In other words I need to exclude tabbing on the last 3 result text boxes. Is it understandable what I mean?

  2. #2
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    Re: Tabindex

    if the user does not need to type into the 3 reslut textboxes you could make them enabled setting to false??

    i am unsure f this is what you are looking for
    it works 60% of the time, all the time.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Re: Tabindex

    You are right, but unfortunalely the font color of the disabled field is grey toned and that is not ok. The fields have to be enabled I'm affraid, see the screen shot below, the last 4 results are disabled
    Attached Images Attached Images  
    Last edited by hpl; Nov 21st, 2006 at 09:33 AM.

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Re: Tabindex

    But what if I use TabIndex=0 doesn't that mean that you jump over this?

  5. #5
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    Re: Tabindex

    i tried it there now with a zero and it tabbed it at the end,

    try and set them to -1 and let me know how you get on
    it works 60% of the time, all the time.

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Re: Tabindex

    great; I will try that

  7. #7
    Fanatic Member Valleysboy1978's Avatar
    Join Date
    Nov 2004
    Location
    Planet Xeoroaniar CC Posts:1,928,453,459,361
    Posts
    770

    Re: Tabindex

    Wouldn't setting the ReadOnly property to True work?
    Life is one big rock tune

  8. #8

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Re: Tabindex

    I will try that, just a second...

  9. #9

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Location
    Denmark
    Posts
    1,049

    Re: Tabindex

    No it doesn't work, and neither did tabIndex=-1

  10. #10
    Fanatic Member Valleysboy1978's Avatar
    Join Date
    Nov 2004
    Location
    Planet Xeoroaniar CC Posts:1,928,453,459,361
    Posts
    770

    Re: Tabindex

    So you're trying to present these as fields but you don't want the user to change the text in them? That correct?
    Also you want any form of tabbing navigation to bypass them?
    Life is one big rock tune

  11. #11
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    Re: Tabindex

    make them labels maybe
    it works 60% of the time, all the time.

  12. #12
    Fanatic Member Valleysboy1978's Avatar
    Join Date
    Nov 2004
    Location
    Planet Xeoroaniar CC Posts:1,928,453,459,361
    Posts
    770

    Re: Tabindex

    Okay, set the first boxes with consecutive numbers (1,2,3) in the tabIndex property.
    Next set the three greyed-out boxes to ReadOnly
    Now set the tabIndex property of the greyed-out boxes to -1, all of them (so they have the same property)

    This seems to work for me using 2005
    Life is one big rock tune

  13. #13
    Fanatic Member d2005's Avatar
    Join Date
    Aug 2005
    Location
    ireland
    Posts
    620

    Re: Tabindex

    aye it seemed to work for me also in 2003,

    try it again hpl .. lol
    it works 60% of the time, all the time.

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