MaskedTextBox and PromptChar
- From: eljainc <eljainc@xxxxxxxxxxxxx>
- Date: Wed, 18 Jun 2008 12:54:26 -0700 (PDT)
Hello,
I am trying to utilize a MaskedTextBox control on my form. I would
like the user to enter numbers only (i.e. 65000), I set the Mask
property as 999999 and the PromptChar as space (it won't take a
blank). However in my output the masked characters are replaced by
spaces. How can I change this promptchar to a blank/empty value so
that there are no spaces? Is there a more suitable control to use?
Thanks
Mike
.
- Follow-Ups:
- Re: MaskedTextBox and PromptChar
- From: Mr. Arnold
- Re: MaskedTextBox and PromptChar
- Prev by Date: What is the disadvantage if I don't implement IEnumerable<T>
- Next by Date: Re: casting vs creating an instance
- Previous by thread: What is the disadvantage if I don't implement IEnumerable<T>
- Next by thread: Re: MaskedTextBox and PromptChar
- Index(es):