I have a form with a textbox and a datagridview. As I type in the textbox, it filters a list of vendors and fills the grid with those vendors that start with whatever has been entered into the text box.
For example, I type in "b" in the textbox, and the grid fills with the vendors that start with "b". I can continue to type in an "a", and it will show the vendors that start with "ba".
That's all good. I want to keep the focus on the textbox so the user can continue typing and searching, but I want to be able to hit the up- and down- arrows while in the textbox and have it scroll up and down in the grid, the same as when the focus is on the grid, and the up and down arrows highlight the next or previous row.
Can someone direct me to a procedure that would do that?
Thanks in advance,
HLeyes
For example, I type in "b" in the textbox, and the grid fills with the vendors that start with "b". I can continue to type in an "a", and it will show the vendors that start with "ba".
That's all good. I want to keep the focus on the textbox so the user can continue typing and searching, but I want to be able to hit the up- and down- arrows while in the textbox and have it scroll up and down in the grid, the same as when the focus is on the grid, and the up and down arrows highlight the next or previous row.
Can someone direct me to a procedure that would do that?
Thanks in advance,
HLeyes