Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Arrow Keys Don't Fire When, GotFocus, Click in Grid txtBox
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Arrow Keys Don't Fire When, GotFocus, Click in Grid txtBox
Miscellaneous
Thread ID:
00618623
Message ID:
00618623
Views:
65
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
Next
Reply
Map
View

Click here to load this message in the networking platform