How to Change Colors of Objects in FoxPro for WindowsLast reviewed: April 29, 1996Article ID: Q94345 |
The information in this article applies to:
SUMMARYIn FoxPro for Windows, the colors used by the FoxPro interface are determined by the current Microsoft Windows color scheme specified in the Color option of the Control Panel application. Unlike FoxPro versions 2.0 and later for MS-DOS, the SET COLOR OF SCHEME command does not change the colors of elements of the FoxPro for Windows interface, such as the main FoxPro screen or the system menu. SET COLOR OF SCHEME affects only the colors of user-defined objects.
MORE INFORMATIONUse the SET COLOR OF SCHEME command to change the colors of user-defined objects such as menus, windows, GET fields, and SAY fields. FoxPro for Windows determines the default colors for these objects from the current Windows color scheme, as follows:
User-defined object Corresponding Windows color --------------------------------------------------------- @ ... GET field background Button face @ ... GET text Window text @ ... SAY field background Window background @ ... SAY text Window text Active window border Active border Active window title bar Active title bar Menu text Menu text System menu bar Menu barThe following statements change the color of @ ... GET fields in color scheme 1 to red text on a black background and save the new color set in the FoxPro resource file as clrset1:
SET COLOR OF SCHEME 1 TO ,R/N CREATE COLOR SET clrset1The SET COLOR SET TO command restores a previously saved color set.
|
Additional reference words: VFoxWin 3.00 FoxWin 2.50 2.50a 2.50b 2.60 2.60a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |