How Colors Are Specified for the Wizards

Last reviewed: June 27, 1995
Article ID: Q119600
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, version 2.6
  • Microsoft FoxPro for Windows, version 2.6

SUMMARY

This article explains how colors are specified in the wizards.

MORE INFORMATION

In FoxPro for Windows, most gray areas are hard-coded. The color of these gray areas therefore cannot be changed. The color of most controls is automatic and will therefore change when system-wide color preferences are changed through the Colors icon in the Control Panel.

In FoxPro for MS-DOS, the colors used by the wizards are specified in color scheme 15 and color scheme 16.

When the wizards are invoked, they search for a "WIZARDS" color set in the FOXUSER resource file. If a WIZARDS color set is found in the resource file, it is used. If a WIZARDS color set is not found in the resource file, the wizards will attempt to create one. If the wizards cannot create a color set (for example, there's no resource file), the wizards will use the SET COLOR command to set the color of color set 15 and color set 16 to standard values.


Additional reference words: FoxDos FoxWin colour colourset grey colorset
KBCategory: kbdisplay kbui
KBSubcategory: FxenvFoxuser


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