Field_SetFontColor()

Examples


The Field_SetFontColor() function sets the color of the font used for a field.

Syntax

Field_SetFontColor(text_field, color)

Parameters

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


Documentation Feedback