TabStop problem

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

It is possible to cycle through the controls on the Pocket PC using the
arrow keys instead of the Tab button. I have tried to copy this with my
application but if place a UserControl on the form with TabStop set to False
it will still get focus when using the arrow keys. It will not happen using
the Tab key. Is there a way to prevent this from happening?

Thanks

Gavin
 
How are you implementing it? Intercept the arrows and convert them to Tabs
and the app will behave the same way for both keys.

-Chris
 
I have just added a UserControl and three Buttons to the form.

With arrow keys you can control the direction (forward or backward) with Tab
it can only go forward. It will not feel the same.

If I set a Button's TabStop to False the same problem occurs. It seems that
TabStop is checked only when Tab is pressed but not with arrow keys?

Gavin
 
Once again, intercept the arrow keys and convert them to Tabs and it will
act just like the tab was pressed.

-Chris
 
Once again :) With arrow keys you can control the _direction_ (forward or
backward) with Tab it can only go forward.

I would like to follow the same control style as with the built-in
applications. Users would expect the left/up arrow key to go to the next
control and down/right arrow key to go to the previous control.

Gavin
 
And just like on the desktop Shift-Tab moved backward in Z-order.

Arrows have never been a tabbing standard, so how they behave isn't
necessarily going to work across devices.

-Chris
 
Thanks Chris, I'll give it a try.

Gavin

And just like on the desktop Shift-Tab moved backward in Z-order.

Arrows have never been a tabbing standard, so how they behave isn't
necessarily going to work across devices.

-Chris
 
Back
Top