Home Forums WinForms controls Xceed Grid for WinForms GridControl KeyDown event not raised on Tab Reply To: GridControl KeyDown event not raised on Tab

User (Old forums)
Member
Post count: 23064

In the KeyDown event handler of the GridControl, set e.Handled to true.<code>grid.KeyDown += new KeyEventHandler(grid_KeyDown);
void grid_KeyDown(object sender, KeyEventArgs e) {
Keys k = e.KeyCode;
if (k == Keys.Tab) {
// do your stuff
e.Handled = true;
}
}</code>

Imported from legacy forums. Posted by Tommy (had 289 views)