Label
From Xojo Documentation
Supported Platforms Project Types: Desktop Platforms: macOS, Windows, Linux |
- For web apps, see WebLabel.
Class (inherits from RectControl)
Displays read-only text.
Properties | ||||||||||||||||||||||||||||||||||||||
|
Methods | |||||||||
|
Notes
You can define an accelerator character for a Label. In the Value property, precede the accelerator character with an ampersand. For example, the entry "&Home" signifies that the H is the accelerator. Pressing Alt+H on Windows triggers the AcceleratorKey event.
Sample Code
The following code sets the text of the Label:
Me.Value = "Hello World"
See Also
RectControl class; TextArea, TextField control.