\cb

\cbn

The \cb statement sets the background color. The new color applies to all subsequent text up to the next \plain or \cb statement.

Parameter

n

Specifies the color number to set as background. The number must be an integer number in the range 1 to the maximum number of colors specified in the color table for the Help file. If an invalid color number is specified, Windows Help uses the default background color.

Comments

No \plain or \cb statement is required if the \cb statement and subsequent text are enclosed in braces. Braces limit the scope of a character property statement to the enclosed text only.

If the \cb statement is not given, the default background color is the text color set by Control Panel.

Example

The following example creates a light grey background color:

{\colortbl;\red128\green128\blue128;}
{\cb1 This background is light grey.}

See Also

\cf, \colortbl