Defaults_ReadColor()

Examples


The Defaults_ReadColor() function reads a color value from the Defaults file.

Syntax

Defaults_ReadColor(setting, default_color_value)

Parameters

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.

Return value

A long integer containing the color value. If the setting isn’t found, the default color value is returned.

Comments

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.

[spacer]

Black

Medium Gray

Blue

Pink

Bright Green

Red

Dark Blue

Teal

Dark Red

Turquoise

Dark Yellow

Violet

Green

White

Light Gray

Yellow

Light Yellow

 



Documentation Feedback