Changing the Color of Disabled GETs in FoxPro for Windows

Last reviewed: March 10, 1997
Article ID: Q101024
2.50 2.50a WINDOWS The kbprg

The information in this article applies to:

  • Microsoft FoxPro for Windows, versions 2.5, 2.5a

SUMMARY

The color of disabled GETs in FoxPro for Windows is determined by the default setting in the Windows Control Panel. This option can be changed, however, by using the SET COLOR OF SCHEME command, as shown below.

MORE INFORMATION

User-defined windows in FoxPro for Windows use color scheme 1. The tenth color pair controls the color of disabled GETs. To change the color of disabled GETs to black on white, use either of the following commands in the Setup code for a screen:

   #SECTION 1
   SET COLOR OF SCHEME 1 TO ,,,,,,,,,N/W*

   -or-

   #SECTION 1
   SET COLOR OF SCHEME 1 TO ,,,,,,,,,RGB(0,0,0,255,255,255)

To set the disabled colors back to the defaults, issue the following command:

   SET COLOR OF SCHEME 1 TO


Additional reference words: FoxWin 2.50 2.50a
KBCategory: kbprg
KBSubcategory: FxprgGeneral

Keywords : FxprgGeneral kbprg
Version : 2.50 2.50a
Platform : WINDOWS


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: March 10, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.