FORECOLOR keyword

Applies To

Form components

Property defaults

Component properties: Data type and format

Description

Specifies the foreground color in which the value of a component displays.

Syntax

FORECOLOR( red, green, blue )

Part Description
red, green, blue Three integers in the range 0 to 255.

Remarks

The FORECOLOR keyword is a parameter of the DEFAULTFORMAT keyword in a data type specification. The keyword also serves as an attribute of the format property of a component.

Example

This example displays the value of a component in white type on a black background.

FORECOLOR(255,255,255) BACKCOLOR(0,0,0)

Rubriques liées