[^^Up^^] [Menu] [About The Guide]
 FiveWin Color management                                                    .
--------------------------------------------------------------------------------
 xBase MsDos color management                                                .
 xBase Windows colors management                                             .

 Color management xBase clauses
--------------------------------------------------------------------------------
 ... COLOR <nClrFore>, <nClrBack>    Using RGB Colors                        .
 ... COLOR <cXBASEColor>             Using xBase string colors               .
 ... BRUSH <oBrush>                  Using Brushes                           .

 Color management Objects Data
--------------------------------------------------------------------------------
 nClrText         Fore RGB Color value to draw text                          .
 nClrPane         Back RGB Color value to draw text                          .
 oBrush           Brush Object to fill its whole area                        .

 Color management Objects Methods
--------------------------------------------------------------------------------
 SetColor()       Changes the color of an Object                             .
 SelColor()       Changes the color of an Object using the standard Dialog Box

 Color management Clipper level functions                                                      .
--------------------------------------------------------------------------------
 nColorToN()     Returns the one byte representation of an xBase color string.
 nRGB()           Returns the RGB equivalent for its components              .
 nGetForeRGB()    Returns the RGB value of the Fore color of a byte color    .
 nGetBackRGB()    Returns the RGB value of the Back color of a byte color    .

 FiveWin C level Color functions                                                            .
--------------------------------------------------------------------------------
 bColorToN()     Returns the one byte representation of an xBase color string.
 lColorToRGB()    Returns the RGB representation from a base number color    .

 Windows API standard Color functions                                                  .
--------------------------------------------------------------------------------
 SetTextColor()   Set the text color to the specified color                  .
 SetBkColor()     Set the current background color to the specified          .
 SetBkMode()      Set the specified background mode                          .
 GetTextColor()   Returns the current text color                             .
 GetBkColor()     Returns the current background color                       .
 GetSysColor()    Retrieves the system color element specified               .

 Color Table
----------------------------------------------------------------- colors.ch ---
                               Low Intensity
 Black        "N" ... 0 ... 0 0 0 0 ... RGB(   0,   0,   0 ) ... CLR_BLACK
 Blue         "B" ... 1 ... 0 0 0 1 ... RGB(   0,   0, 128 ) ... CLR_BLUE
 Green        "G" ... 2 ... 0 0 1 0 ... RGB(   0, 128,   0 ) ... CLR_GREEN
 Cyan         "BG"... 3 ... 0 0 1 1 ... RGB(   0, 128, 128 ) ... CLR_CYAN
 Red          "R" ... 4 ... 0 1 0 0 ... RGB( 128,   0,   0 ) ... CLR_RED
 Magenta      "RB"... 5 ... 0 1 0 1 ... RGB( 128,   0, 128 ) ... CLR_MAGENTA
 Brown        "GR"... 6 ... 0 1 1 0 ... RGB( 128, 128,   0 ) ... CLR_BROWN
 White        "W" ... 7 ... 0 1 1 1 ... RGB( 192, 192, 192 ) ... CLR_HGRAY

        High Intensity ( add "+" for Fore and "*" for Back colors )
 Black   #### "N" ..  8 ... 1 0 0 0 ... RGB( 128  128  128 ) ... CLR_GRAY
 Blue    #### "B" ..  9 ... 1 0 0 1 ... RGB(   0,   0, 255 ) ... CLR_HBLUE
 Green   #### "G" .. 10 ... 1 0 1 0 ... RGB(   0, 255,   0 ) ... CLR_HGREEN
 Cyan    #### "BG".. 11 ... 1 0 1 1 ... RGB(   0, 255, 255 ) ... CLR_HCYAN
 Red     #### "R" .. 12 ... 1 1 0 0 ... RGB( 255,   0,   0 ) ... CLR_HRED
 Magenta #### "RB".. 13 ... 1 1 0 1 ... RGB( 255,   0, 255 ) ... CLR_HMAGENTA
 Yellow  #### "GR".. 14 ... 1 1 1 0 ... RGB( 255, 255,   0 ) ... CLR_YELLOW
 White   #### "W" .. 15 ... 1 1 1 1 ... RGB( 255, 255, 255 ) ... CLR_WHITE

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson