Tab for the next control from the dataset

Using tab keys in a WPAT datagrid is my big problem these days. Oh, datagram. Why does he act like it's all the same ...: S

1st: I want to disable the ability to use the tab key in the datagrid. When the focus is set in the datagrid, I want to use the arrow keys for navigation.

2nd: If the user presses the tab key in the datagrid, I want to jump out of the datagrid and get the focus of the next element after the datagrid in the correct tab order.

Anyway, can I do this?

+3
source share
1 answer

You can subscribe to a KeyUp or PreviewKeyUp event, listen to the tab, and respond accordingly.

0
source

All Articles