Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/100448

From BetaArchive Wiki

PRB: SET SYSMENU ON Does Not Work During a READ Command

ID: Q100448

The information in this article applies to:

  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a
  • Microsoft FoxPro for MS-DOS, versions 2.5 and 2.5a

SYMPTOMS

In FoxPro for Windows, the command SET SYSMENU ON does not remove the _MSYSMENU menu while a READ command is in effect, as it does in FoxPro for MS-DOS.

CAUSE

The behavior of SET SYSMENU ON is not consistent with the Windows operating system. In Windows, the system menu bar, if there is one, is always displayed.

RESOLUTION

Adding the command HIDE MENU _MSYSMENU after the SET SYSMENU ON command will cause the menu bar to be removed. The menu bar will reappear if the ALT or F10 key is pressed.

MORE INFORMATION

The following code demonstrates this problem:

   SET SYSMENU ON
   @ 2,2 GET x DEFAULT 0
   READ CYCLE

The following code demonstrates the resolution to this problem:

   SET SYSMENU ON
   HIDE MENU _MSYSMENU
   @ 2,2 GET x DEFAULT 0
   READ CYCLE

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


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