Property

WebTextControl.Value


Warning

This item was deprecated in version 2020r2. Please use WebTextControl as a replacement.

Description

Specifies the text displayed in the control.

Sample code

To set the Value for a WebLabel:

Label1.Text = "Name:"

To set the Value for a WebTextField:

TextField1.Text = "Bob Roberts"

To set the Value for a WebTextArea:

TextArea1.Text = "1 Main Street" + EndOfLine + "Anytown, NY 12345"

Compatibility

All project types on all supported operating systems.

See also

WebTextControl parent class; WebLabel, WebTextField, WebTextArea, WebSearchField classes.