MaxLength Property

       

Sets or returns the maximum length of the Masked Edit control.

Syntax

[form.]MaskedEdit.MaxLength [ = setting%]

Remarks

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.

Data Type

Integer