Microsoft KB Archive/101024

From BetaArchive Wiki

Changing the Color of Disabled GETs in FoxPro for Windows

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 
Version           : 2.50 2.50a
Platform          : WINDOWS

Last Reviewed: March 11, 1997
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.