WebTextControl.Text

From Xojo Documentation

Property (As String )
aWebTextControl.Text = newStringValue
or
StringValue = aWebTextControl.Text

New in 2020r2

Supported for all project types and targets.

Specifies the text displayed in the control.

Sample Code

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"

See Also

WebLabel, WebTextField, WebTextArea, WebSearchField classes.