From Xojo Documentation

Read-Only Property (As Boolean )
BooleanValue = aTextArea.AllowStyledText

New in 2019r2

Supported for all project types and targets.

If True, styled text is allowed.


The MultiLine property must also be set to True to permit styled text. If AllowStyledText is False, then the TextArea cannot have a StyledText object.