PRB: Current Output Window Painted with Inactive Color Scheme

ID: Q88669

The information in this article applies to:

SYMPTOMS

A window activated with the ACTIVATE WINDOW <window name> 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 "WINDOW A"
   ACTIVATE WINDOW A
   DEFINE WINDOW B FROM 2,2 TO 18,33 TITLE "WINDOW B"
   ACTIVATE WINDOW B BOTTOM
   @ 0,5 SAY "I'M THE OUTPUT WINDOW"
   WAIT WINDOW
   RELEASE WINDOW B
   RELEASE WINDOW A

Additional reference words: FoxDos FoxWin 2.00 2.50 2.50a KBCategory: kbprg kbprb KBSubcategory: FxprgGeneral

Last Reviewed: June 27, 1995