You use this function to maintain display attributes for screen elements in the Screen Painter.
To change the display attributes for screen elements, in the Layout Editor of the Screen Painter, choose the Attributes pushbutton. In the Display group box, you can set the following attributes:
Attribute |
Description |
Fixed font |
If you use this attribute, the system uses fixed-width fonts to display input/output fields and text fields. To use this attribute, you must define the element as an output-only field.
Fixed fonts are more difficult to read than proportional fonts. |
Bright |
Highlights an element.
Do not set this attribute for more than 10% of the information on a screen. |
Invisible |
Makes an element invisible. |
2-dimensional |
Displays elements without the three-dimensional shading that appears around the element border. This attribute is automatically set when you use an icon.
Do not set this attribute because the system automatically adjusts the way fields are displayed. |
As label left |
This attribute is used for text fields and input/output fields for display purposes (Input field attribute not set). If this attribute is set, the text field is linked to the screen element on its right. At runtime, the text field appears as a label for that screen element. |
As label right |
This attribute is used for text fields and input/output fields for display purposes (Input field attribute not set). If this attribute is set, the text field is linked to the screen element on its left. At runtime, the text field appears as a label for that screen element. |
Res. to Double-Click |
This attribute is relevant for text fields and input/output fields only. If you set this attribute, double-clicking the element at runtime triggers an action. |
LTR |
If this attribute is set, the system always displays the field contents on the screen as LTR (left-to-right) text, even if the writing direction of the window is RTL (right to left), for example, when using Hebrew or Arabic. |
BIDI |
If this attribute is set, the filtering of bi-directional formatting characters is disabled when you enter values via screen templates. You can only enter these characters if they are present in the system codepage and the front-end code page. If this attribute is not set, a system-wide parameter determines whether the filtering should take place. This parameter can be set from the program I18N_SET_DATAELEMENT_FLAGS. |
Output Style |
This attribute is relevant only for DECFLOAT fields. It defines the output style for DECFLOAT values. The following settings are possible: ● 0 Mathematical notation ● 1 Commercial notation ● 2 Scale-preserving notation ● 3 Scientific notation ● 4 Scientific notation with a leading zero ● 5 Scale-preserving scientific notation ● 6 Engineering notation ● 7 Monetary amount in commercial notation ● 8 Monetary amount in commercial notation with strict limit on the decimal places |
For more information about screen element attributes, see General Attributes.