Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 296
  • Last Modified:

Why does delete key not work in text box on MDI child form?

In the text boxes of my MDI child forms, the delete key seems to be "dead." It's not deleting characters or firing KeyDown events. However, if I set the MDIChild property on the form to false, the delete key starts working. How can I get the delete key to work when MDIChild is set to true? Thanks!!!
0
digiti0
Asked:
digiti0
1 Solution
 
aikimarkCommented:
I'd suggest that you look at your KeyDown/KeyPress event code.
0
 
GuruVBCommented:
Make sure that you have now set the keycode or keyascii = 0 , some where in the code.

Please review your code.
0
 
rspahitzCommented:
Also check the KeyPreview property of both the form and the MDI form and make sure they're False.
0
 
DanRollinsCommented:
Hi digiti0,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Accept aikimark's comment(s) as an answer.

digiti0, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you.  DO NOT accept this comment as an answer.

EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
0
 
kodiakbearCommented:
Moving to the paq

kb
Experts Exchange Moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now