Label.SetString

From Xojo Documentation

Method

Label.SetString(Str As String)

Supported for all project types and targets.

Sets the Label’s caption to the passed String.

Example

This example sets the text of the Label. It has the same effect as setting the Text property.

Me.SetString("Set by Setstring")