UserGuide

Web Label

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.

Properties

Text

The text to display in the Label.

Usage

Web Labels shown with Text Fields and other controls

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:

Label1.Text = TextField1.Text

See Also

WebLabel class; UserGuide:Web UI topic