Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting a grid to respond to a keypress
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00182778
Message ID:
00182876
Views:
10
>I have a grid and I want to insert a new record when the user presses a certain key (like ^INS) with *any* part of the grid selected. I know how to use the KeyPress event in the text object of a column but I don't want to force the user to have that particular text item selected. I don't see a more global "KeyPress" event available. How can I do this?

A little off the track, but why not use an Add/Insert button, and have your keyboard set to fire the button Click? It's a more standard interface, and you don't have to be concerned with where the cursor/mouse is...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform