In my form have a text box...My requirement is... when is type characters in that box... before typing the 3rd character the space should come automatically or programmatically...the sturucture is look like 21 33 44 55..pls help me...Thanks in Advance.
vigneshkbv
0
Newbie Poster
Recommended Answers
Jump to PostYou may want to try the MaskedTextBox. It allows you to specify a mask to use in the control. Also, this will be smoother for handling things like editing in the control (backspaces, user clicking in the middle of the text and making changes, etc.) To set the mask, do …
Jump to PostChange the property "PromptChar" - it is currently set to the underscore character. Change this to a space and you should be good.
All 8 Replies
mcriscolo
47
Posting Whiz in Training
vigneshkbv
0
Newbie Poster
vigneshkbv
0
Newbie Poster
mcriscolo
47
Posting Whiz in Training
vigneshkbv
0
Newbie Poster
mcriscolo
47
Posting Whiz in Training
vigneshkbv
0
Newbie Poster
vigneshkbv
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.