Field_SetBackColor()

Examples


The Field_SetBackColor() function sets the background color of a field.

Syntax

Field_SetBackColor(field, color)

Parameters

field – The field for which the back color will be set.

color – A long integer specifying the color to use. The value corresponds to one of the following constants:

[spacer]

Constant

Constant

COLOR_SYSTEM

COLOR_TEAL

COLOR_TRANSPARENT

COLOR_GREEN

COLOR_BLACK

COLOR_DARK_YELLOW

COLOR_WHITE

COLOR_VIOLET

COLOR_RED

COLOR_DARK_RED

COLOR_BRIGHT_GREEN

COLOR_DARK_BLUE

COLOR_BLUE

COLOR_MEDIUM_GRAY

COLOR_TURQUOISE

COLOR_LIGHT_GRAY

COLOR_PINK

COLOR_LIGHT_YELLOW

COLOR_YELLOW

 


Return value

A boolean. True indicates the back color was set, while false indicates it was not.


Documentation Feedback