How to Turn Off Window Shadows in the CONFIG.FP File

Last reviewed: April 17, 1995
Article 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 "DEFAULT" 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 <PROGRAMNAME>. 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.

REFERENCES

"Developer's Guide," version 2.0, pages D14-4 to D14-11, D14-24 to D14-26 "Interface Guide," version 2.0, pages G8-5 to G8-9 "Commands & Functions," version 2.0, page C3-807 "User's Guide," version 2.5, pages U8-5 to U8-9 "Language Reference," version 2.5, page L3-990


Additional reference words: FoxDos 2.00 2.50 2.50a
KBCategory: kbprg
KBSubcategory:


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: April 17, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.