Detecting when the delete key is pressed

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello
I wish to set up a handler to detect when the <Delete> key is pressed on the keyboard. This is so that I can intercept it and if the focus is on my datagrid, I will display a confirmation button, if they say No then the delete will be reversed (if possible)

Thanx in advanc

Austin
 
Hi Ken,

Greath code, because with that I think it is possible to stop that almost
unstoppable deleting in the datagrid with the cntrl alt del and where I
could not find anything for on Google or in newsgroups.

As you probably know gives deleting gives as result that the user thinks it
is gone while it is not, it needs to be *removed*.

When needed I will try it and make a sample from it..

Cor
 
Back
Top