P
Pat
I am using the following code in the keydown event to tab through 4
screens:
If e.KeyCode = Keys.Enter Then
e.Handled = True
Me.ProcessTabKey(Not e.Shift)
Else
e.Handled = False
MyBase.OnKeyUp(e)
End If
The tabbing works fine, however, there are several checkbox controls
within groupboxes which do not show as having focus when tabbing
through them. Typically, you will see a dashed box on the control when
it has focus. I know the tab is hitting them because you can select a
checkbox by pressing the space bar. When tabbing via the tab key, the
dashed box shows up on the controls, but using the enter key it does
not. Any ideas please?
TIA
Pat
screens:
If e.KeyCode = Keys.Enter Then
e.Handled = True
Me.ProcessTabKey(Not e.Shift)
Else
e.Handled = False
MyBase.OnKeyUp(e)
End If
The tabbing works fine, however, there are several checkbox controls
within groupboxes which do not show as having focus when tabbing
through them. Typically, you will see a dashed box on the control when
it has focus. I know the tab is hitting them because you can select a
checkbox by pressing the space bar. When tabbing via the tab key, the
dashed box shows up on the controls, but using the enter key it does
not. Any ideas please?
TIA
Pat