The Defaults_ReadColor() function reads a color value from the Defaults file.
Defaults_ReadColor(setting, default_color_value)
• setting – A string specifying the setting to read.
• default_color_value – A long integer specifying the color value to return if the setting isn’t found in the defaults file.
A long integer containing the color value. If the setting isn’t found, the default color value is returned.
The color value in the defaults file can be the name of a predefined Dexterity color. It can also be a color value in decimal or hexadecimal format. The following table lists the predefined color names for Dexterity.
Black |
Medium Gray |
Blue |
Pink |
Bright Green |
Red |
Dark Blue |
Teal |
Dark Red |
Turquoise |
Dark Yellow |
Violet |
Green |
White |
Light Gray |
Yellow |
Light Yellow |
|