TextColor Function

The currently selected operating system text color.

Syntax

result = TextColor( )



Return Value

Result

Color

The color used for drawing text.



Notes

This value is useful when you are using Canvas controls to create custom controls. When drawing objects, use this color as the ForeColor value when drawing text.

This value can be changed by the user, so you should access this value in the Paint event handler rather than storing the value.


See Also

DarkBevelColor, DarkTingeColor, FillColor, FrameColor, HighlightColor, LightBevelColor, LightTingeColor functions; Color data type.