Changing the Desktop Color in FoxPro for WindowsLast reviewed: June 27, 1995Article ID: Q99543 |
The information in this article applies to:
SUMMARYThe following information describes two different methods of changing the colors of the FoxPro for Windows desktop without using the Control Panel to change the entire Windows environment.
MORE INFORMATIONThe first method is to be used in a program, and the second method is to be used upon startup of FoxPro. NOTE: The second method offers the advantage of providing a convenient location to initialize global variables and setting the environment, such as SET CLOCK STATUS or =AFONT(ra_font), without showing this as history information in the Command window. Additionally, the initial environment can be restored easily (if needed) by DOing SETUP.PRG again. In either case, the color of the Main window in FoxPro is not refreshed until the following commands are issued:
ACTIVATE WINDOW SCREEN CLEAR Method 1Enter the following command in your code
MODIFY WINDOW SCREEN COLOR <foreground/background>where <foreground/background> may be either Xbase color pair types such as W+/BG, or Windows-style statements, such as RGB(255,255,255,0,128,128).
Method 2
|
Additional reference words: FoxWin 2.50 2.50a
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |