Microsoft KB Archive/67450

How to Set Background/Foreground Colors with SCREENS.EXE

PSS ID Number: Q67450 Article last modified on 04-20-1993

4.00 MS-DOS

Summary: The Microsoft COBOL version 4.0 Screens utility (SCREENS.EXE) allows you to set the background color and the foreground color for an entire screen. When painting a screen, five color combinations are available for individual fields using F6 – ATTRIBUTE ROLL. These combinations and the default colors can be set using the procedure described below: The default screen attribute should be set prior to any painting of screens. The color attributes are changed using the ALT menu. Within the ALT menu, press F9 – ATTRIBUTE PALETTE. When the “background foreground color” attribute bar appears at the bottom of the screen, move the cursor to the desired combination. Pressing F7 sets the default screen attribute. F2 through F6 are the five combinations used for the attribute roll in screen painting. For more information about the Screens utility, see Chapter 28 in the “Microsoft COBOL 4.0: Operating Guide.”

Additional reference words: 4.00 Copyright Microsoft Corporation 1993.