How to Change the Colors of the Help File

Last reviewed: June 26, 1995
Article ID: Q107360
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5, 2.5a, and 2.5b

By default, the Help file in FoxPro for Windows uses the color green to display the table of contents and the popup/cross-reference words. You can change this color by modifying the WIN.INI file, which is located in the directory where Microsoft Windows is installed.

To modify this file, open the WIN.INI file with any ASCII text editor and modify the [Windows Help] section of the WIN.INI file. Add the following two lines to this section:

   JumpColor =<RRR> <GGG> <BBB>
   PopUpColor=<RRR> <GGG> <BBB>

<RRR> stands for the red value, <GGG> stands for the green value, and <BBB> stands for the blue value. Substitute the values of <RRR>, <GGG>, and <BBB> with numbers between 000 and 255 for the amount of red, green, and blue. For example, entering "000 000 000" (without the quotation marks) for the JumpColor will result in the table of contents of the Help file being displayed as black text on a white background. PopUpColor works the same way. PopUpColor will control the color of the popup/cross-reference words. To achieve the desired color, you may need to test several combinations of values.

For more information on how to achieve the color you want, query on the following words here in the Microsoft Knowledge Base:

   jumpcolor and burgundy

NOTE: The method stated above will affect the colors in all Windows Help files. The only way the colors can be changed in a single Help file is to modify the Help source files with the Help Compiler (see page 23 of the "Help Compiler Guide"). The Help Compiler comes with the FoxPro for Windows Distribution Kit.

REFERENCES

"Microsoft Windows Resource Kit," pages 178 to 179


Additional reference words: FoxWin 2.50
KBCategory: kbinterop kbui kbgraphic kbtool kbprg
KBSubcategory: FxinteropGeneral


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 26, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.