Document revision: 2017-08-29
Refers to JDLG version: 1.7.6
A StaticText may be used as a label, implicitly associated with the next
focusable object, or to display text that typically does not change while
a Dialog is visible.
If used as a label, a StaticText may define an
accelerator key to move the keyboard focus to
the associated object.
- align : string, get/set
- Specifies how the text is horizontally aligned.
Possible values are:
The default value is "left".
- class : string, get
- Returns "StaticText".
- text : string, get/set
- The text to be displayed.
If an & character occurs in the text, the next character
or digit is used to define a corresponding accelerator key.
When the ALT key along with this accelerator key is pressed, the
keyboard focus is moved to the next focusable object in the
- textpos : string, get/set
- Alias for the align attribute
(provided for backward compatibility).