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.
Printable View
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.
"it doesn't recognize clicking on tabs"
----------------
What control is receiving the keystroke event?
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.
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.