MaxLength Property
Description
Gets or sets the maximum number of characters that can be entered in the edit control.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property MaxLength() As Long
Remarks
Use the MaxLength property to limit the number of characters a user can enter in a Flat Edit control. If text that exceeds the MaxLength property setting is assigned to a Flat Edit control from code, no error occurs; however, only the maximum number of characters is assigned to the Text property, and extra characters are truncated. Changing this property doesn't affect the current contents of a Flat Edit control but will affect any subsequent changes to the contents.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.