I have a grid on a form for the purpose of displaying an existing set of records. When the user clicks on a particular txtBox in the Grid, I have code in the txtBox.When that highlights the cell the user clicked into, and then I also have code in the txtBox.Click that highlights that record and populates some other values that are displayed on the form.
The problem that I am having is that as soon as I released this program to the first end-user, wouldn't you know it, he starts cursoring around the grid with the arrow keys on the keyboard instead of clicking with the mouse. The arrow keys are not firing any of my code. Basically, I need the result of using the arrow keys to be just as if the user clicked on the txtBox with the mouse.
How can this be accomplished? TIA, Chuck
Chuck Henry