ID: Q109603
The information in this article applies to:
When you are migrating an existing FoxBASE+ for the Macintosh application using the FB+Migrate Application, the application will incorrectly state that SYS(1021) and SYS(1022) are not supported in FoxPro for Macintosh, which is incorrect.
SYS(1021) and SYS(1022) return the monitor resolution in FoxBASE+/Mac. To return the same results in FoxPro for Macintosh, use the equivalent SYSMETRIC commands.
For SYS(1021) in FoxBASE+/Mac, use SYSMETRIC(2) in FoxPro for Macintosh. For SYS(1022) in FoxBASE+/Mac, use SYSMETRIC(1) in FoxPro for Macintosh.
The only difference is in the return values of SYS(1021) and SYSMETRIC(2). SYS(1021) returns the complete height of a monitor, whereas SYSMETRIC(2) returns the height, minus the height of the menu bar.
Microsoft has confirmed this to be a problem in FoxPro version 2.5b for Macintosh. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
Additional reference words: FoxMac 2.50b buglist2.50b KBCategory: kbprg kbbuglist KBSubcategory:
Last Reviewed: May 17, 1996