$DEF_BACKGROUND

For components running in character mode, switch the default inverse background for Unifields off. This requires the components to be recompiled.

$DEF_BACKGROUND {=}off

Defaults

Assignment file: Any application assignment file
Section: [SETTINGS]

Description

The background for form and report components running in character mode is always inverse, which affects the way Unifields are displayed and printed. Prior to Uniface Eight, the default was non-inverse.

If this change of behavior causes a problem when migrating from an older version of Uniface, you can restore the pre-Uniface Eight behavior by setting $DEF_BACKGROUND= off and recompiling all the affected components. The background color now depends on the Unifield properties set on component and field level.

Caution: It is not possible to reverse this by using $DEF_BACKGROUND=on and recompiling. If you need to return to the standard behavior, remove $DEF_BACKGROUND=off from the assignment file and recompile the affected components.

$DEF_BACKGROUND

[SETTINGS]
$DEF_BACKGROUND = off