PPWIZARD is a free preprocessor for HTML, REXX, Visual Basic or any text files.
[Bottom][Contents][Search][Prev]: ColorAllow()[Next]: ColorSet()
\ -> Rexx -> Inbuilt PPWIZARD Functions -> ColorCfg()

ColorCfg()

This is an inbuilt function function provided by PPWIZARD.

This function sets the color used by a color name.

It takes 2 parameters as follows:

  1. The Color Name
    This is the alias of the color whose value should be set, it is one of:
    1. DEFAULT
    2. ERROR
    3. HIGHLIGHT
    4. INFO
    5. PromptText
    6. RESET
    7. RexxTrace
    8. SUMMARY
    9. TITLE
    10. WARNING
    11. ?user

    Any color name that begins with "?" is automatically a valid color even if you have never defined it. It provides you with a range of colors that are not used by PPWIZARD so you can change color to any value(s) you wish to configure without effecting any existing PPWIZARD facilities.

  2. The New value
    This will be either ANSI or CTEXT codes. The "ReplaceCurlyHexCodes()" routine is used to expand any hard to type characters such as escape ("{x1B}").

Note that the previous color value is returned by this function.

See the color configuration section for more information about the color names and values and how the default value for the colours can be configured.


email me  any feedback, additional information or corrections.
See this page online (look for updates)

[Top][Contents][Search][Prev]: ColorAllow()[Next]: ColorSet()


PPWIZARD Manual
My whole website and this manual itself was developed using PPWIZARD (free preprocessor written by Dennis Bareis)
Saturday May 28 2022 at 2:55pm