How the Menu Font Is Determined in FoxPro for WindowsID: Q103601 2.50 2.50a 3.00 WINDOWS The information in this article applies to:
SUMMARYUser-defined menus that are not created as a part of _msysmenu will be displayed in the MS Sans Serif font unless the current output window's font is FoxFont, in which case FoxFont will be used. Below are three code examples that demonstrate this behavior and one example related to cross-platform applications. Menus that are created as part of _msysmenu will always be displayed in MS Sans Serif; for example:
MORE INFORMATION
Sample 1
Sample 2
Sample 3
Cross-Platform ApplicationsIf you are developing applications that are to be run on both the MS-DOS and Windows platforms using the same code but without using platform-specific conditional statements, set the output window to FoxFont to ensure portability. If you are using platform-specific statements, the following code fragment shows the best way to handle these:
Additional reference words: VFoxWin 3.00 FoxWin 2.50 2.50a
KBCategory:
KBSubcategory: FxprgGeneral
|
Last Reviewed: May 22, 1998 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |