Function TranslateSysColor() Foundation

Converts a system color to an RGB-encoded color value.

Syntax
TranslateSysColor( <nSysColor> ) --> nRGB
Parameters
<nSysColor>
<nSysColor> is one of the system colors defined in the file XBP.CH, see the XBPSYSCLR_xxx constants.
Return

Return is a RGB-encoded color value. See the functions GraMakeRGBColor() and GraGetRGBIntensity() for further information on dealing with RGB colors.

Description

Convert a system color to an RGB-encoded color value. System colors can be changed via the color scheme selected in Control Panel.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.