[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Palette                  Selects Palette for Drawing Purposes

 Palette(PNum : Integer);                                                [TP]

    Selects one of four palettes. Any drawings already on the screen are
    immediately changed to reflect the new colors.

            PNum    Integer value; selects one of four palettes.


    --------------------------- Color Number ---------------------------
    Color number:      0             1             2              3
    --------------------------------------------------------------------
    Palette 0:    Background     Green         Red             Brown
    Palette 1:    Background     Cyan          Magenta         LightGray
    Palette 2:    Background     LightGreen    LightRed        Yellow
    Palette 3:    Background     Lightcyan     LightMagenta    White
    --------------------------------------------------------------------

    When the display mode is set using GraphMode (black and white
    graphics), an RGB monitor is able to display the following two
    palettes in this mode:

    --------------------------- Color Number ---------------------------
    Color number:      0             1             2              3
    --------------------------------------------------------------------
    Palette 0:    Background     Blue          Red             LightGray
    Palette 1:    Background     LightBlue     LightRed        White
    --------------------------------------------------------------------


  -------------------------------- Example ---------------------------------

           Palette(2);              { use Palette #2: Light Green/Light }
                                    { Red/Yellow }

See Also: ColorTable HiResColor GraphBackground SetPenColor
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson