>How can I delete a record in a grid by click the delete button of the keyboard ?
I guess you can intercept the KeyPress() Event.
Suggestion: Have a menu command that invokes a form method, like _Screen.ActiveForm.OnDelete(), and give it a shortcut key like Ctrl-D. "Del" won't be appropriate in this case, because the user might use it for editing within a TextBox.
By the way, you don't do editing within the Grid, do you? For in this case, deleting an entire record with "Del" won't be appropriate, either.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)