WebLabel
From Xojo Documentation
Supported Platforms Project Types: Web Platforms: macOS, Windows, Linux |
- For desktop applications, see Label.
Class (inherits from WebTextControl)
Used to display a text label on a web page.
Events | ||||||||||||||||
|
Methods | ||||||||||||
|
Examples
Change the text of a label:
Label1.Text = "Enter your name:"
If you want to display text that wraps to multiple lines, set the Multiline property to True:
Label1.Multiline = True
Label1.Text = "How much wood would a woodchuck chuck if a woodchuck could chuck wood?"
Label1.Text = "How much wood would a woodchuck chuck if a woodchuck could chuck wood?"
See Also
Label, WebLink, WebSearchField, WebTextArea, WebTextControl, WebTextField