Click here to Skip to main content
15,886,088 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
In vb.net how to enable a backspace key and in which event.
Posted
Comments
Simon Bang Terkildsen 14-Oct-11 7:20am    
Your question doesn't make sense, the backspace key is "enabled".
I'm guessing you're working with WinForms and have a control were you want to handle the press of the backspace key. So click "Improve question" and add details about which control you're working with, what you're trying to achieve and what you've tried yourself.
NikulDarji 14-Oct-11 8:57am    
Improve your Question....

1 solution

KeyDown, KeyPress, KeyUp events - pick one! Then you compare the e.KeyCode or e.KeyChar (depending on which one you use) to Keys.Back . And like they said, please improve your question.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900