View Single Post
  #3 (permalink)  
Old 12-02-2008, 7:01 AM
JohnH's Avatar
JohnH JohnH is offline
VB.NET Forum Moderator
.NET Framework: .NET 3.5 (VS 2008)
 
Join Date: Dec 2005
Location: Norway
Age: 37
Posts: 10,329
Reputation: 1315
JohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond reputeJohnH has a reputation beyond repute
Default

You had to find out emperically now, but next time you check the help documentation, which in this case in very clear about your inquiry, for example if you press F1 on MaxLength property in designer or code.
Quote:
Gets or sets the maximum number of characters the user can type or paste into the text box control.
With even more explicit info in Note:
Quote:
In code, you can set the value of the Text property to a value that has a length greater than the value specified by the MaxLength property. This property only affects text entered into the control at run time.
__________________
Reply With Quote