You can use the consoleLib.updateWindowAttributes() system function to update the active window with the current value of a specified window attribute. If the attribute is one of color, intensity, or highlight, the values of all open windows, not just those of the active window, are updated.
This function is required for Informix® 4GL migration. New EGL users do not need this function, as they can get the same results more easily through other means, such as setting attributes before opening a window.
consoleLib.updateWindowAttributes(
attributes WindowAttributeKind in)
ConsoleLib.MenuLine = 5;
ConsoleLib.defaultInputAttributes{ color=red };
updateWindowAttributes(WindowAttributeKind.MenuLine);
updateWindowAttributes(WindowAttributeKind.Color);