Curser control using Masked Text Box in C#

Posted by George on Stack Overflow See other posts from Stack Overflow or by George
Published on 2010-05-17T09:51:20Z Indexed on 2010/05/17 10:10 UTC
Read the original article Hit count: 364

Filed under:
|

I seem to have asked this question twice !

I kept getting a message saying New Members can only add a new Question every 20 minutes, try again later !!!

Sorry for the duplication ! Please ignore this one !!

Thanks.

In my app in C# I have several input fields that I need to capture.

I need them to be of specific sizes and type and I have used masked Text Boxes for these.

I have fields like name which is 20 text charachters long, and a certificate number which is 5 numeric characters with a preceding C etc.

This works fine except with I click on a field with the mouse, the cursor does not go to the begining of the fild, or the end of any input text.

Is there a way of allowing this to happen using Masked Text Box or will I have to use normal Text Box and do all the field validation manually ?

© Stack Overflow or respective owner

Related posts about c#

Related posts about maskedtextbox