BACKCOLOR Mnemonic - Set Background Color (SYSGUI)

Syntax

'BACKCOLOR'(colornum)
'BACKCOLOR'("colorname")
'BACKCOLOR'(red_val,green_val,blue_val)

Description

For BBj-specific information, see the BACKCOLOR Mnemonic - Set Background Color.

The 'BACKCOLOR' mnemonic sets the background color for nonopaque text in main windows and child windows (see the 'OPAQUE' mnemonic). The color is visible through crosshatched fills and is also the color used for 'CLEARBG'. 'CLEAR' (color) is equivalent to 'BACKCOLOR'(color), 'CLEARBG'. When followed by the COLORSET mnemonic, BACKCOLOR sets the background color for all controls.

Parameter

Description

colornum

Color number from the table below.

"colorname"

Name of the color from the table below.

red_val,green_val,blue_val

RGB value.

 

Color

Number

BLACK

0

BLUE

1

RED

2

MAGENTA

3

GREEN

4

CYAN

5

YELLOW

6

WHITE

7

DKGRAY

8

GRAY

9

LTGRAY

10

An !ERROR=29 is returned if the colornum or RGB parameters are out of range or the entry in colornum does not evaluate to one of the specified strings.

See Also

Mnemonics - Alphabetical Listing

Mnemonics - Group Listing