Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

DataGridView KeyDown?

$
0
0
(VS2005 - beta 2)

Hello, is there anyway to capture a keypress or keydown event in the DataGridView?  I know there's events called KeyDown and Keypress, but if the DGV is in edit mode, they never get caught. 

My ultimate goal is to make it so pressing enter moves to the Cell to the right, instead of to the next row but I need to know what key is being pressed before I can do that.

Thanks
-Adam

Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>