Property "Maximum Length" <maxlength>

Top  Previous  Next

The maximum length of text the user can type into the Edit Box is specified through this property.

When no definition is made, the default value is -1, which means unlimited.

When maximum length is set to 0, the user cannot enter text into the edit box.

All other positive values are self explanatory: When maximum length is set to 5, the user can enter maximum 5 characters into the edit box.