WebLabel.Multiline

From Xojo Documentation

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

New in 2010r5

Supported for all project types and targets.

If True, the control accepts multiple lines of text and wraps the text to the right side of the control. If False, excess text extends off the right edge of the control.


Example

If you want to display text that wraps to multiple lines, set the Multiline property to True:

Label1.Multiline = True
Label1.Text = "How much wood would a woodchuck chuck if a woodchuck could chuck wood?"