Microsoft KB Archive/118744

{| = BUG: Menu Pad Duplicates When Editing Window Zoomed =
 * width="100%"|

ID: Q118744

The information in this article applies to:


 * Microsoft FoxPro for Windows, version 2.5, 2.5a, 2.5b, 2.6

SYMPTOMS
In FoxPro for Windows, a menu program that is reexecuted while an editing window containing that menu program is zoomed to full screen duplicates its pad and items on the menu bar. If the editing window is minimized and then maximized to full screen again, the duplicated menu pad will disappear.

NOTE: This behavior does not occur in FoxPro for MS-DOS.

STATUS
Microsoft has confirmed this to be a problem in FoxPro for Windows versions 2.5, 2.5a, 2.5b, and 2.6. We are researching this problem and will post new information here in the Microsoft Knowledge Base as soon as it becomes available.

Steps to Reproduce the Problem
1. Create a program containing the following code and save it as

MYPROG.PRG:

SET SYSMENU TO  SET SYSMENU AUTOMATIC DEFINE PAD _qlc14d9lt OF _MSYSMENU PROMPT "Quitter" ; COLOR SCHEME 3 KEY ALT+Q, "ALT+Q" ON SELECTION PAD _qlc14d9lt OF _MSYSMENU do myprog.prg 2. In the Command window, issue the following command: DO myprog 3. Open the program for modification by typing the following command in the Command window:

MODIFY COMMAND myprog 4. Click the Quitter menu pad. The menu completely repaints itself, still showing only the one pad. 5. Return to the program editing window and zoom it to full screen. 6. Click the Quitter menu pad.

The pad will duplicate itself. 7. Restore the window to its normal editing size. The duplicate pad will disappear. 8. Maximize the window to full screen again. The previously duplicated pad will not return unless you click the Quitter pad again. Additional reference words: FoxWin 2.50 2.50a 2.50b 2.60 buglist2.50 buglist2.50a buglist2.50b buglist2.60 KBCategory: kbenv kbui kbbuglist KBSubcategory: FxenvGeneral
 * }