Microsoft KB Archive/88669

{| = PRB: Current Output Window Painted with Inactive Color Scheme =
 * width="100%"|

ID: Q88669

The information in this article applies to:


 * Microsoft FoxPro for MS-DOS, versions 1.02, 2.0, 2.5, and 2.5a
 * Microsoft FoxPro for Windows, versions 2.5 and 2.5a

SYMPTOMS
A window activated with the ACTIVATE WINDOW BOTTOM command may not have an active color scheme.

RESOLUTION
This behavior is expected and by design. Even though the window has been activated and it is the current output window, it is not painted using the active window color scheme until it is moved to the top of the window stack.

MORE INFORMATION
The following code illustrates this situation. When Window B is activated on the bottom of the window stack, Window A retains the active color scheme.

CLEAR DEFINE WINDOW A FROM 5,5 TO 15,30 TITLE &quot;WINDOW A&quot; ACTIVATE WINDOW A  DEFINE WINDOW B FROM 2,2 TO 18,33 TITLE &quot;WINDOW B&quot; ACTIVATE WINDOW B BOTTOM @ 0,5 SAY &quot;I'M THE OUTPUT WINDOW&quot; WAIT WINDOW RELEASE WINDOW B  RELEASE WINDOW A Additional reference words: FoxDos FoxWin 2.00 2.50 2.50a KBCategory: kbprg kbprb KBSubcategory: FxprgGeneral
 * }