Solved

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

Posted on 2002-03-19
5
270 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

685 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