This project has moved and is read-only. For the latest updates, please go here.

MaskedTextBox InsertMode Issue

Mar 31, 2012 at 6:12 PM



We're using this toolkit and it's been showing itself awesome. However, I have a issue regarding the MaskedTextBox component:

The default insert mode for the text insertion should be overwrite, correct? I mean, I should be typing and any preexisting text on the component should be replaced. I happen to have a "0000" masked textbox filled with numbers (e.g. '1234'). When I focus it, the caret is in the first position, but I'm unable to insert any value (and thus to overwrite the existing content) unless I delete some of the numbers. I need to tap Insert on the keyboard first to be able to overwrite the content.

Can i set the insert mode to overwrite in MaskedTextBox, and MaskedTextBox only, as this behavior is desirable for me only for this component, and not for the rest of my application?

Greetings from Brazil,

Willy Festugatto

Apr 13, 2012 at 9:20 PM

Thanks you to have submitted this issue.  I have created the issue #17829 to solve this.


Unfortunately, except for the Insert key, I am not aware of any workaround.

Oct 22, 2012 at 6:39 PM

This can be adressed with version 1.8 by setting the "InsertKeyMode" property to "Overwrite"

Nov 7, 2012 at 7:49 PM

Issue fixed in v1.8