PRB: SET COLOR TO Changes Color of the Status Bar and Clock

Last reviewed: April 18, 1995
Article ID: Q114488
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, 2.5a, 2.5b, 2.6

SYMPTOMS

When you are changing the color pair for SAYs with the SET COLOR TO command, the colors of the status bar and clock also change.

CAUSE

The status bar and clock are linked with the color pair of the SAYs. If you manually change the default color pair for SAYs the status bar and clock turn white on cyan.

STATUS

This behavior is by design.

RESOLUTION

To control the colors of the status bar and clock, use the following command:

   SET COLOR OF INFORMATION TO <color_pair>

MORE INFORMATION

Steps to Reproduce Behavior

Type the following commands in the Command window:

   SET STATUS ON
   SET CLOCK ON
   SET COLOR TO R+/B
   CLEAR
   SET COLOR OF INFORMATION TO GR+/RB

REFERENCES

FoxPro online Help "Language Reference," version 2.5, page L3-893 "Command and Functions," version 2.0, page C3-729


Additional reference words: FoxDos 2.00 2.50 2.50a 2.50b 2.60
KBCategory: kbprg kbprb
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 18, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.