Microsoft KB Archive/102925

From BetaArchive Wiki

PRB: SET SYSMENU OFF Relocates Row 0 & Causes Screen "Jumping"

ID: Q102925

The information in this article applies to:

  • Microsoft FoxPro for Windows, versions 2.5x, 2.6, 2.6a

SYMPTOMS

The screen "jumps" when the SET SYSMENU OFF command is issued.

CAUSE

Row 0 is below the menu bar in FoxPro for Windows instead of "behind" the menu bar as it is in FoxPro for MS-DOS. This difference occurs because there is no client area for FoxPro for Windows to write on behind the menu bar.

Therefore, the screen "jumps" when SET SYSMENU OFF is issued because row 0 relocates to the region where the system menu used to reside.

RESOLUTION

To avoid the screen jumping effect, use SET SYSMENU TO instead of SET SYSMENU OFF.

MORE INFORMATION

Steps to Reproduce Behavior

   @ 0,0 SAY "Hello"

   FOR cnt = 1 to 10
      SET SYSMENU OFF
      SET SYSMENU AUTO
   ENDFOR

Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60 2.60a KBCategory: kbprg kbprb KBSubcategory: FxprgGeneral


Last Reviewed: June 27, 1995
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.