BUG: Menu Pad Duplicates When Editing Window Zoomed

Last reviewed: June 27, 1995
Article 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.

MORE INFORMATION

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


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

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