H
Hans Kesting
Hi,
Navigating with "tab" and "shift-tab" between textbox and radiobutton
has sometimes some strange results.
Some example fields:
- several textboxes (say: tb1, tb2)
- some radiobuttons (rb3, rb4, rb5)
- again some textboxes (tb6, tb7)
I have these fields on two TabPages on the same Form. In the first
TabPage the taborder is as expected:
from tb1 -> tb2 -> (selected or first radiobutton) -> tb6 -> tb7
and when I use shift-tab:
from tb7 -> tb6 -> (selected or first radiobutton) -> tb2 -> tb1
But on the other TabPage there is something unexpected:
using "tab":
from tb1 -> tb2 -> rb3 -> (selected radiobutton, if not rb3) -> tb6 ->
tb7
and using "shift-tab":
from tb7 -> tb6 -> (selected radiobutton, if not rb3) -> rb3 -> tb2 ->
rb3 -> tb2 (and so on)
So "tab" first lands on rb3, instead of the selected radiobutton.
"shift-tab" visits rb3 also and gets into a loop (I can't get from tb2
to tb1, using shift-tab)
Does anyone have an idea what the problem might be and how this can be
fixed?
Some related information:
- the set of controls is in the same container
- the TabIndex is numbered correctly (in the example: the number in the
name == TabIndex)
- there are no other fields (in the same container) that have the same
tabindex
Hans Kesting
Navigating with "tab" and "shift-tab" between textbox and radiobutton
has sometimes some strange results.
Some example fields:
- several textboxes (say: tb1, tb2)
- some radiobuttons (rb3, rb4, rb5)
- again some textboxes (tb6, tb7)
I have these fields on two TabPages on the same Form. In the first
TabPage the taborder is as expected:
from tb1 -> tb2 -> (selected or first radiobutton) -> tb6 -> tb7
and when I use shift-tab:
from tb7 -> tb6 -> (selected or first radiobutton) -> tb2 -> tb1
But on the other TabPage there is something unexpected:
using "tab":
from tb1 -> tb2 -> rb3 -> (selected radiobutton, if not rb3) -> tb6 ->
tb7
and using "shift-tab":
from tb7 -> tb6 -> (selected radiobutton, if not rb3) -> rb3 -> tb2 ->
rb3 -> tb2 (and so on)
So "tab" first lands on rb3, instead of the selected radiobutton.
"shift-tab" visits rb3 also and gets into a loop (I can't get from tb2
to tb1, using shift-tab)
Does anyone have an idea what the problem might be and how this can be
fixed?
Some related information:
- the set of controls is in the same container
- the TabIndex is numbered correctly (in the example: the number in the
name == TabIndex)
- there are no other fields (in the same container) that have the same
tabindex
Hans Kesting