PRB: SET COLOR TO Results in Differing Shades of GrayID: Q114791 The information in this article applies to:
SYMPTOMSThe default desktop color is a different shade of gray than the default color pair displayed for scheme 1 in FoxPro for Macintosh.
CAUSEThis behavior occurs because the default color set is actually using an RGB value for the color information. The color pair listing returned by scheme(1) returns information in color pair letters, which are an approximation of the current RGB settings. The SET COLOR TO n/w* command uses a different set of RGB values to represent gray.
RESOLUTIONTo restore the default desktop color programmatically, issue the following commands:
For more precise control over the colors, use RGB values instead of color
pairs.
MORE INFORMATION
Steps to Reproduce Behavior1. Start FoxPro for Macintosh. 2. Issue the following commands in the Command window:
3. Issue the following commands in the Command window:
Note that the desktop is now a darker shade of gray, although the color
pair information returned by the second ?SCHEME(1) command is identical to
the color pair information returned by the first command.
REFERENCESFor more information about color schemes and color pairs, see the SET COLOR commands in the "Language Reference." Additional reference words: VFoxMac 3.00b FoxMac 2.50b 2.50c colorset grey colour colourset KBCategory: kbprg kbprb KBSubcategory: |
Last Reviewed: June 1, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |