![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
... does anyone know how to trap <Ctrl+Tab> while in edit mode in a "DataGridView" ("TextBox") cell. I'd certainly appreciate the info since I've pounded away at this for hours now and nothing seems to work. Thanks in advance. |
#3
| |||
| |||
|
|
anyone know how to trap <Ctrl+Tab> while in edit mode in a "DataGridView" ("TextBox") cell. I'd certainly appreciate the info since I've pounded away at this for hours now and nothing seems to work. Thanks in advance. I think the best way is with PreviewKeyDown - Private Sub DataGridView1_PreviewKeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.PreviewKeyDownEventArgs) _ Handles DataGridView1.PreviewKeyDown If e.Control And e.KeyCode = Keys.Tab Then Beep() End If End Sub |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |