Results 1 to 4 of 4

Thread: [RESOLVED] Navigate tabs with keyboard

  1. #1

    Thread Starter
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,969

    Resolved [RESOLVED] Navigate tabs with keyboard

    We bought a product for capturing key strokes for regression testing and it doesn't recognize clicking on tabs. One application has eight tabs. Is there keystrokes to do that? I always thought VB could be programmed so a mouse isn't necessay.

  2. #2
    PowerPoster Code Doc's Avatar
    Join Date
    Mar 2007
    Location
    Omaha, Nebraska
    Posts
    2,354

    Re: Navigate tabs with keyboard

    "it doesn't recognize clicking on tabs"
    ----------------
    What control is receiving the keystroke event?
    Doctor Ed

  3. #3

    Thread Starter
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,969

    Re: Navigate tabs with keyboard

    I meant mouse clicking. Shift + tab up until the tab has focus and then the arrow keys take you across the tabs. I'm not a key board person and didn't know how to jump "up" from the form with key strokes.

  4. #4
    PowerPoster Code Doc's Avatar
    Join Date
    Mar 2007
    Location
    Omaha, Nebraska
    Posts
    2,354

    Re: [RESOLVED] Navigate tabs with keyboard

    Well, the applications that I write allow the user to Tab from one control to the next. When the control receives the focus, Enter or Space Bar does the same thing as a mouse click (triggers the click event), unless you are inside a text box where those keypresses have a text meaning. The tab order property controls the Tab key sequence from one control to the next.

    Perhaps the regression testing application you have removed the Tab controls from the Tab sequence by setting the Tab Stop property to False. Any control with a Tab Stop property set to False will remove it from the Tab sequence and force a mouse click to establish the focus. I'm not sure this is considered good practice because in my apps and many others, if the mouse fails, the user can still drive the software rather well with the keyboard.
    Doctor Ed

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