Screen Objects Move Up When Menu Bar Is Hidden in FoxPro

Last reviewed: April 29, 1996
Article ID: Q95378
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a

SUMMARY

In FoxPro for Windows, objects on the screen move up one row when the system menu is not visible. This behavior differs from that of FoxPro version 2.5 for MS-DOS.

When the system menu bar is visible on the screen, the row just below it is row 0. However, once the system menu is removed from the screen as a result of using either the SET SYSMENU OFF or HIDE MENU _MSYSMENU command, the line where the menu bar used to be becomes row 0. Thus, any text on the screen moves up one line to account for the change in coordinates relative to the screen.

MORE INFORMATION

In FoxPro for MS-DOS, when the system menu bar is on the screen, there is still a "client" region beneath the menu where output can be directed. In other words, row 0 is beneath the menu bar in FoxPro for MS-DOS. In FoxPro for Windows, however, there is no "client" region beneath the system menu bar; therefore, row 0 is the row just below the menu bar.


Additional reference words: FoxWin 2.50 2.50a flash scroll
KBCategory: kbprg
KBSubcategory: FxprgGeneral


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: April 29, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.