From Xojo Documentation
The Label control is used to display text that the user cannot select or edit. It is commonly used for prompts before Text Fields, Text Areas and other controls.
You primarily use the Text property with a Label. Refer to WebLabel in the Language Reference for the complete list of events, properties and methods.
- The text to display in the Label.
The Label can be used to display prompts that do not change, but you can also update the text yourself. This code changes a Label to show what a user entered in a Text Field: