[Overview][Constants][Types][Classes][Procedures and functions][Index] |
MaxLength: maximum length allowed for text string
Source position: stdctrls.pp line 757
public property TCustomEdit.MaxLength: Integer |
MaxLength determines the maximum number of characters allowed in a TCustomEdit. When its value is 0, the user is allowed to enter any number of characters. Unlike VCL, if a text set through the Text property has more characters then MaxLength it will be truncated. It's not possible to implement the VCL behavior due to characteristics of non win32 widgetsets.