Hi,
I use TsiLang components in a C++ Builder program.
In the [Strings] section, I have several sentences that contain carriage return (\n).
When these sentences are displayed in the GUI, the line break is not done and the \n character is displayed.
How can this problem be corrected?
Carriage return
Re: Carriage return
Hello,
- There is a global variable siLang_Def_UsedInCpp declared in siComp unit. You can assign it to True at application's initialization and C++ special chars like \n, \t and others will be treated accordingly.
- Additionally, every TsiLang component has a public field named UsedInCpp, you can set it to true to achieve the same functionality.
Best regards,
Igor Siticov.
Igor Siticov.
Re: Carriage return
I used the first solution.
It works perfectly.
Thanks !
It works perfectly.
Thanks !