TextShape.Value
From Xojo Documentation
Property (As String )
aTextShape.Value = newStringValue
or
StringValue = aTextShape.Value
New in 2019r2
Supported for all project types and targets.
or
StringValue = aTextShape.Value
New in 2019r2
Supported for all project types and targets.
The text to draw.
Notes
The text can be only one text style (font, font size, style) specified by the other TextShape properties. Use the FillColor property to change the color of the text. Use a carriage return between text to display with multiple lines. The default text is an empty string.