Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

RTF-Text in ScollableText-Control


1 reply to this topic

Torben

Torben
  • Full Members
  • 68 posts

Posted 13 October 2006 - 11:29

Hi forum,

I have two long string with rtf-formatted text like: \par 1.2 Der Anwender zahlt daf\'fcr and so on.

My strings are in german and in english. Depending of the systems UI I want to show the according string, which I keep in properties.

But it's not possible to show these string in an scrollable text control. How can I switch at runtime the text to be shown in such control? I need it for the license agreement.

Thanks for reading,
Torben

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 13 October 2006 - 15:42

Two possible ways:
Create a multi-language setup with dialogs in both languages. Use the German RTF on the German dialogs etc.
or:
Create a dialog with two RTF controls, one per language. Use conditions to show/hide the appropriate control (using the ControlCondition table)