From Xojo Documentation

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

Property (As Boolean )
aLabel.Multiline = newBooleanValue
BooleanValue = aLabel.Multiline

Supported for all project types and targets.

If True, wrap text to multiple lines. The default is False.

Sample Code

This example is in the Open event of the control.

Me.MultiLine = True