Field_SetPatternColor()

Examples


The Field_SetPatternColor() function sets the color of the pattern used for a field.

Syntax

Field_SetPatternColor(field, color)

Parameters

field – The field for which the pattern 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 pattern color was set, while false indicates it was not.


Documentation Feedback