>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.