Steven Black Consulting -- Resources for Visual FoxPro developers and other object-oriented programming professionals

[intl logo upfront.html]

How to Localize Menus With INTL

A GENMENUX driver is used to localize menus. To activate GENMENUX and its INTL.PRG driver, put the following lines in your CONFIG.FPW:

* Add these lines to CONFIG.FPW.
*-- Configuring for INTL menus.
_GENMENU=GENMENUX.PRG
_MNXDRV2=INTL.PRG
*-- End of configuration for INTL menus.

Some of these changes require a VFP restart.

This change will take effect the next time you start Visual FoxPro. To avoid restarting FoxPro at this time, issue the following command in the command window:

_GENMENU=HOME()+"GENMENUX.PRG"

This is all you need to change in your development environment to localize menus. Henceforth generate menus as usual.

Note: GENMENUX does not replace Visual FoxPro’s native menu generator. Since GENMENUX calls GENMENU.PRG, your code is generated by Visual FoxPro as usual. The INTL Toolkit uses GENMENUX as a pre-processor. GENMENUX is a rich program. Please see the GENMENUX section in the Appendix.