defaultDisplayAttributes (EGL system variable)

You can use the consoleLib.defaultDisplayAttributes system variable to specify default display characteristics for text created by the various "display" functions in consoleLib, such as consoleLib.displayAtLine() or consoleLib.displayAtPosition().

You can set the following properties for the consoleLib.defaultDisplayAttributes variable: For more information, see the topics for the individual properties.

Type: PresentationAttributes

Example

The following example shows ways to set the values of the properties for the variable. The first uses dot syntax:
consoleLib.defaultDisplayAttributes.color = red;
consoleLib.defaultDisplayAttributes.highlight=[underline];
Alternatively, you can use a set-values block to set all properties in a single statement:
consoleLib.defaultDisplayAttributes {color = red, highlight=[underline]};
You typically set the attributes before the openUI statement:
consoleLib.defaultDisplayAttributes {color=red};
openUI myRegister;

Feedback