Datagridview Overriding Tab Key Behaviour

0
0

Hi,

I have a simple search application where a datagridview is populated and the first row is selected after the search.

From there I have the Datagridview as FullRowSelect and I can use the Up / Down keys for navigation.

The TAB key seems to tab between columns until it gets to the last row and then moves onto the next control (probably by design).

I was wondering if their was a way to override this behaviour so the tab key simply moves to the next focuable control?

I have the Tab Order setup that moves between controls and it works well when there are no entries in the Datagridview. (Next Tab Stop after Datagridview is textbox) but when I have rows, I need to tab until the last row before it moves out.

Thanks in advance for your help.

Brayden.

  • You must to post comments
0
0

Hi Brayden,

You’ll need to set the StandardTab Property of the DataGridView to true!

Best,
Alaa

//

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.