How the Menu Font Is Determined in FoxPro for Windows (103601)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft FoxPro for Windows 2.5
- Microsoft FoxPro for Windows 2.5a
This article was previously published under Q103601 SUMMARY
User-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:
DEFINE PAD test OF _msysmenu PROMPT "Test"
ON PAD test OF _msysmenu ACTIVATE POPUP test
DEFINE POPUP test
FOR CNT = 1 TO 10
DEFINE BAR CNT OF test PROMPT "test" + LTRIM(STR(CNT))
ENDFOR
Modification Type: | Major | Last Reviewed: | 11/17/2003 |
---|
Keywords: | kbcode KB103601 |
---|
|