In the form Init procedure, include something like
THIS.CommandOk.caption = OK_bt
I don't think macro substitution will be neccessary.
>I have made the conversion of my project from FoxPro 2.6 to VisualFoxPro 5.0 and have the following problem.
>For multilanguage support I have used marcoses for windows names,buttons caption and radio buttons caption. For example, &OK_bt, where m.OK_bt="OK" or "Confirma" in accordance with defined language.
>But in VisualFoxPro 5.0 caption for this objects is a string and I have no possibility to address string by means macros.
>Any suggestions?
Joseph C. Kempel
Systems Analyst/Programmer
JNC