Click to See Complete Forum and Search --> : MaskEdBox and the MaxLength property


mevans
November 16th, 1999, 11:51 AM
The documentation for the MaskEdBox control states that it operates just like the TextBox if the Mask property is set to "". However, I was unable to set the MaxLength property to a value greater than 64. Does anybody know of a way to set the MaxLength property to a value greater than 64 for the MaskEdBox?

Thanks,
Mark
mevans@printrak.com

senthil
November 16th, 1999, 05:28 PM
The Masked Edit control can have a maximum of 64 characters (the valid range for this property is 1 to 64). The default value is set to 64 characters, including literal characters in the input mask.

If the user enters characters beyond the specified maximum length, the control generates a beep.


The above lines are specified in the VB documentation. I think we set Maxlength value more than 64

November 16th, 1999, 07:53 PM
have you tried setting it dynamically at runtime?