PRB: SET SYSMENU ON Does Not Work During a READ CommandLast reviewed: June 27, 1995Article ID: Q100448 |
The information in this article applies to:
SYMPTOMSIn 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.
CAUSEThe 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.
RESOLUTIONAdding 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 INFORMATIONThe following code demonstrates this problem:
SET SYSMENU ON @ 2,2 GET x DEFAULT 0 READ CYCLEThe 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
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |