DesktopTextArea.AllowStyledText
From Xojo Documentation
Read-Only Property (As Boolean )
BooleanValue = aDesktopTextArea.AllowStyledText
New in 2021r3
Supported for all project types and targets.
New in 2021r3
Supported for all project types and targets.
If True, styled text is allowed.
Notes
The MultiLine property must also be set to True to permit styled text. If AllowStyledText is False, then the DesktopTextArea cannot have a StyledText object.