WebTextControl.Text
From Xojo Documentation
Property (As String )
aWebTextControl.Text = newStringValue
or
StringValue = aWebTextControl.Text
Supported for all project types and targets.
or
StringValue = aWebTextControl.Text
Supported for all project types and targets.
Specifies the text displayed in the control.
Notes
For a WebLabel, Text can be surrounded by "<raw></raw>" tags to temporarily disable HTML parsing. For example, you could bold just a single word in a WebLabel by doing this:
Label1.Text = "This is a line with <raw><b>bold</b></raw> text in it."
Examples
To set the text for a WebLabel:
Label1.Text = "Name:"
To set the text for a WebTextField:
TextField1.Text = "Bob Roberts"
To set the text for a WebTextArea:
TextArea1.Text = "1 Main Street" + EndOfLine + "Anytown, NY 12345"