Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

746 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

13 Experts available now in Live!

Get 1:1 Help Now