Forms > Forms Assembly Interfaces > ICustomEdit > ICustomEdit.MaxLength
MaxLength: Integer;
The MaxLength property determines the maximum length of entered text.
If MaxLength <= 0, text length is unlimited.
See also:
ICustomEdit