Label
From Real Software Documentation
- For web applications, see WebLabel.
Class (inherits from RectControl)
Displays text that is not editable by the user. This is the replacement for the StaticText control, which is deprecated.
| Constants | |||
|
| Properties | ||||||||||||||||||||||||||||||||||||||||||
|
| Methods | ||||||||||||
|
Notes
You can define an accelerator character for a Label. In the Text 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.
Example
The following example sets the text of the Label.
Me.Text = "Hello World"
See Also
RectControl class; TextArea, TextField control.
