|
-
Jul 17th, 2008, 05:38 PM
#1
[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.
-
Jul 17th, 2008, 06:32 PM
#2
Re: Navigate tabs with keyboard
"it doesn't recognize clicking on tabs"
----------------
What control is receiving the keystroke event?
-
Jul 18th, 2008, 05:23 AM
#3
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.
-
Jul 18th, 2008, 07:21 AM
#4
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|