How to Change the Colors of a Wait Window in FoxPro for MS-DOSID: Q130605 The information in this article applies to:
SUMMARYThis article shows by example how to change the colors of a WAIT window. You can use the WAIT WINDOW command in FoxPro to display FoxPro system or user-defined messages. The WAIT window belongs to the 'Dialogs' family of FoxPro windows. This family uses color scheme five.
MORE INFORMATIONColor pairs one and three of color scheme five affect the colors of a WAIT window. Color pair one controls the color of normal text, and color pair three controls the window border color. No other color pairs for color scheme five apply to WAIT windows. The following two examples illustrate how to set the WAIT window colors scheme.
Steps to Follow for Simple Color Change1. In the Command window, enter:
2. In the Command window, enter:
"Hello" is displayed in black-on-cyan text in a black-on-cyan window.
Steps to Follow for Blinking Text1. In the Command window, enter:
2. In the Command window, enter:
"Hello" is displayed as blinking, red-on-white text in a red-on-white
window. However, the blinking does not occur if FoxPro for MS-DOS is run
under Windows.
To restore the color scheme back to the default colors, use this command:
Additional NotesWhen color pairs one and three of color scheme five are changed, the appearance of other system dialogue windows (such as FileOpen, DatabaseSetup, ProgramDo, and others) are also affected. To keep these dialogue windows looking consistent, you need to change some of the color pairs of other color schemes. For example, color pairs two and six of color scheme six control the colors of the 'enabled option' and 'selected item' respectively. Additional reference words: FoxDos 2.00 2.50 2.50a 2.50b 2.60 2.60a new different KBCategory: kbenv kbcode KBSubcategory: FxenvGeneral |
|
Last Reviewed: May 25, 1995 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |