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
The value of zero does not limit text. MaximumCharactersAllowed works for normal text entry, copy and paste, and drag and drop.
There may be maximum limits imposed by the operating system.