WebApplication->ShowMessage("Line1\nLine2"); shows a message box with two lines.
WebApplication->ShowMessage(siLangLinked1->GetTextOrDefaultC(IDS_10)); with exactly the same text in IDS_10 in the Translation Editor shows a message box with one line "Line1\nLine2".
How do I have to define my string or a setup to get two lines?
C.N.Taur
Multiline string question
Code: Select all
siLangLinked1->UsedInCPP = true;
Best regards,
Igor Siticov.
Igor Siticov.
In Application's initialization code just add
siLang_Def_UsedInCpp = true;
P.S. siLang_Def_UsedInCpp is declared in siComp.hpp.
P.P.S. http://www.tsilang.com/delphiglobalizat ... aq.html#23
siLang_Def_UsedInCpp = true;
P.S. siLang_Def_UsedInCpp is declared in siComp.hpp.
P.P.S. http://www.tsilang.com/delphiglobalizat ... aq.html#23

Best regards,
Igor Siticov.
Igor Siticov.