Knowledge Base |

# PRB: Command Window Moves Behind Main FoxPro Window

Article ID: 113698

Article Last Modified on 10/15/2003

APPLIES TO

- Microsoft FoxPro 2.5b for Macintosh
- Microsoft Visual FoxPro 3.0b for Macintosh

This article was previously published under Q113698

## SYMPTOMS

When MACDESKTOP = ON, clicking the main FoxPro window moves it in front of the Command window.

## CAUSE

This behavior occurs because the Command window is not a part of the main FoxPro window as it is in both FoxPro for Windows and FoxPro for MS-DOS. Issuing the SET MACDESKTOP OFF command after FoxPro has started does not affect this relationship because the "desktop" state of the Command window is determined prior to the execution of any user code.

## RESOLUTION

If you want the Command window to behave as it does in FoxPro for Windows and FoxPro for MS-DOS, add the following line to the CONFIG.FPM file:

       MACDESKTOP = OFF

## STATUS

This behavior is by design.

Additional query words: VFoxMac FoxMac

Keywords: KB113698