Style.ForeColor Property

Returns or sets the formatting style's text color. Text Control uses the Microsoft Windows operating enviroment red-green-blue (RGB) color scheme.

Syntax

   Style.ForeColor [= value]
Setting Description
0 to &HFFFFFF These values are interpreted as RGB values.
&H40000000 The style uses the system color for the window text.
&H80000000 The text color is inherited from the paragraph. This value is only possible for character-based styles.

Data Types

Long.

Limitations

Run time only.

See Also