DesktopTextArea.MaximumCharactersAllowed

From Xojo Documentation

Property (As Integer )
aDesktopTextArea.MaximumCharactersAllowed = newIntegerValue
or
IntegerValue = aDesktopTextArea.MaximumCharactersAllowed

New in 2021r3

Supported for all project types and targets.

The maximum number of characters allowed in the DesktopTextArea.

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.