TextArea.MaximumCharactersAllowed
From Xojo Documentation
Property (As Integer )
aTextArea.MaximumCharactersAllowed = newIntegerValue
or
IntegerValue = aTextArea.MaximumCharactersAllowed
New in 2019r2
Supported for all project types and targets.
or
IntegerValue = aTextArea.MaximumCharactersAllowed
New in 2019r2
Supported for all project types and targets.
The maximum number of characters allowed in the TextArea.
Notes
Setting this property to zero will not disallow all text entry. MaximumCharactersAllowed works for normal text entry, copy and paste, and drag and drop.