Microsoft KB Archive/109603

{| = BUG: FB+Migrate Application and SYS(1021), SYS(1022) =
 * width="100%"|

ID: Q109603

The information in this article applies to:


 * Microsoft FoxPro for Macintosh, version 2.5b

SYMPTOMS
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.

RESOLUTION
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.

STATUS
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:
 * }