How to control Insert/Overtype Mode

Posted on 2006-04-18
Last Modified: 2010-04-04
I'm just finishing off a Delphi 5 Program and need to be able to toggle OVERTYPE/INSERT mode. Currently Delphi seems to be permanently in INSERT mode. What can I do to correct this and preferably activate the INSERT key so that it works in Delphi just as it does in other programmes when entering characters.


Question by:edhasted
    LVL 17

    Expert Comment


    Maybe You can use richedit. It has such a functionality.

    Author Comment

    Can I used that in an edit box?
    LVL 6

    Expert Comment

    Check out this site:

    It shows how to implement insert/overwrite mode in a memo.


    Author Comment

    Apologies for not closing this off - it appears in Delphi 5 the Insert mode is deactivated in the Edit Boxes, period!

    Odd, annoying but that would appear to be the way it is....

    With many thanks,

    Ed Hasted
    LVL 14

    Expert Comment

    > it appears in Delphi 5 the Insert mode is deactivated in the Edit Boxes, period!

    Did you try Imthiyaz' suggestion for a memo? Or do you really require an edit box?

    Accepted Solution

    PAQed with points refunded (125)

    Community Support Moderator

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
    Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    734 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

    17 Experts available now in Live!

    Get 1:1 Help Now