EditField.LimitText Property
Syntax
LimitText as Integer
The maximum number of characters allowed in the EditField. The value of zero does not limit text.
Works for normal text entry, copy and paste, and drag and drop, but not for text entered programmatically.