TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
S4E
NA
33
0
Trapping backspace character key presses?
Sep 21 2004 4:28 AM
This topic probably belong here, rather than the c# forum... When tying to allow only number into a text box, I added code which works BUT as a side effect, I cant actually use backspace anymore to delete typing errors :-( Any ideas on how to fix this? I want to trap the backspace to allow it. I tried stuff like: if(e.KeyChar.Equals(Keys.Back)) { ... } But this doesnt seem to work :-( Any ideas?
Reply
Answers (
3
)
Sending an event from a class to a form
Control persistence/ custom properties. Active-X functionality.