From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Integer )
aTextArea.MaximumCharactersAllowed = newIntegerValue
IntegerValue = aTextArea.MaximumCharactersAllowed

New in 2019r2

Supported for all project types and targets.

The maximum number of characters allowed in the TextArea.


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.