Screen Objects Move Up When Menu Bar Is Hidden in FoxPro

ID: Q95378

2.50 2.50a WINDOWS kbprg

The information in this article applies to:

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

Keywords          : FxprgGeneral 
Version           : 2.50 2.50a
Platform          : WINDOWS

Last Reviewed: April 30, 1996