Colin
Colin

Reputation: 339

Reset Button - Backspace OnClick

I've created a reset button that resets all the data on my search criteria form. I've made it so my Search buttons fires when enter is pressed, but I'm wondering:

How can I make the RESET button fire when BACKSPACE is pressed?

Thanks!

Upvotes: 0

Views: 426

Answers (1)

TheOtherTimDuncan
TheOtherTimDuncan

Reputation: 603

Take a look at the form's OnKeyPress event: http://msdn.microsoft.com/en-us/library/aa213952%28v=office.11%29.aspx

Upvotes: 1

Related Questions