DataGrid always capture the arrow keys of it child controls (VB.NET, VS2008)
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, After tested with ComboBox, TextBox, Button as DataGrid child controls (Using DataGrid1.Controls.Add), I found that when all arrow keys pressed were capture by the DataGrid. I.e.: - When I click on the ComboBox and then use the arrow (Up or Down) keys to move through the ComboBox items, the DataGrid1 handles it and I cannot move in the ComboBox, the ComboBox close its drop-down list, lost focus. Additionally, the DataGrid move to another item of its - When set focus on the button or text box and then use the arrow keys, the same as above happened I don't know why. I just want to know why, the root cause. Are there any formal documents said that, please show me. Thanks in advance!