Solved

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

Posted on 2002-03-19
5
257 Views
Last Modified: 2010-05-18
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
Comment
Question by:digiti0
5 Comments
 
LVL 45

Accepted Solution

by:
aikimark earned 50 total points
ID: 6881937
I'd suggest that you look at your KeyDown/KeyPress event code.
0
 

Expert Comment

by:GuruVB
ID: 6882300
Make sure that you have now set the keycode or keyascii = 0 , some where in the code.

Please review your code.
0
 
LVL 22

Expert Comment

by:rspahitz
ID: 6894912
Also check the KeyPreview property of both the form and the MDI form and make sure they're False.
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7634175
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
 
LVL 1

Expert Comment

by:kodiakbear
ID: 7666034
Moving to the paq

kb
Experts Exchange Moderator
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now