URGENT! VB.NET DatagridView.KeyUp event not working properly
Posted on 2013-01-10
Oracle Forms allows a user to execute a search or run a query when a user finishes typing a value in a column in a grid. The user can press F8 on the keyboard to initiate the search based on the DataGrid's current column value.
I tried to use the DataGridView.KeyUp event to mimic the same function but the event does activate at the right time. In fact, I have to click out of the column then click once, then hit F8.
Here is a snippet of the code I used
Select Case e.Keycode
After I type the last letter in the column and press F8, nothing happens-- but if I move to the next column and then click back on the original column, F8 works.
What am I doing wrong?