>>>Hi,
>>>
>>>I just realized (ran into it) that a regular win forms textbox does not have a Mask property. So I found out that there is a Masked Textbox in VS 2005. But then I read here in some of the old messages that Masked Textbox is not a good idea. I need to have some text boxes to have a Format (!) - automatic upper case and limit a number of characters to, say, 10 or 15. Will Masked Textbox work in this case or should I seek a 3P products?
>>
>>Try the MaskedTextBox. Mask should probably be '>??????????'
>>( > forces following input to upper case, number of ? will determine maximum length)
>
>Thank you. If the regular textbox with CharacterCasing does not work I will turn to masked textbox.
Should work fine - but depends on exactly what you want. A MaskedTextBox with the Mask I suggested will *only* allow upper case A-Z. The TextBox would allow anything (but with alphabetic input converted to upper)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only