Microsoft KB Archive/98356

{| = How to Turn Off Window Shadows in the CONFIG.FP File =
 * width="100%"|

ID: Q98356

The information in this article applies to:


 * Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, and 2.5a

SUMMARY
You can turn off window shadows at startup if the SHADOW=OFF command is included in the CONFIG.FP file and there is not a color set named DEFAULT in the FOXUSER.DBF file.

MORE INFORMATION
The FOXUSER.DBF file is used by FoxPro to store a variety of resource information. Among this information are color sets. There is normally a color set named DEFAULT, in all capital letters. If this color set exists in the FOXUSER.DBF file and the Windows color scheme in it is set to Cast A Shadow, it will override the SHADOW=OFF command in the CONFIG.FP file.

The word &quot;DEFAULT&quot; will appear in the name field of the FOXUSER.DBF file. If it is not in all capital letters, the SHADOW=OFF command in the CONFIG.FP file will not be overridden. Neither will having the first four letters, DEFA, in all capitals override the CONFIG.FP command.

There are three other options for turning off window shadows upon starting FoxPro. They are as follows:

 Modify the DEFAULT color set so that the Windows color scheme is not set to Cast A Shadow. To do this, choose Color from the Window menu.  In the CONFIG.FP file, include this statement: COMMAND=SET SHADOWS OFF  Write a program that has the SET SHADOWS OFF command in it, then make sure there is a line in the CONFIG.FP file that says COMMAND=DO . This program will be run at startup and turn off the shadows. Various other FoxPro commands can also be executed upon startup in this manner.