StaticText.Multiline

From Xojo Documentation

Property (As Boolean )
aStaticText.Multiline = newBooleanValue
or
BooleanValue = aStaticText.Multiline

Supported for all project types and targets.

If True, wrap text to multiple lines.