View Single Post
  #8  
Old 02-05-2019, 20:54
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by johnnyusa View Post
Hi guys, long time user of CIU. Played from time to time with it but, during all this time i had a problem i couldnt get around.

It's about parsing the RTF format (for Eula) for example. Whenever i use a rtf file it seems it just treats it as TXT file instead. I've noticed this in old yener scripts and also in this latest version.

It's something i'm missing here? If i try to compile a basic script in Inno, RTF is correctly parsed but in CIU it just shows as plain text without BOLD or colored parts and such.
CIU does not support text formatting.
The native text viewer on the InnoSetup default installer pages uses TRichEditViewer to load the texts.
Since TRichEditViewer does not work with ScroolBars using Skin / VCLStyles, TNewMemo was used to load the texts.
Texts are first loaded into TRichEditViewer to support ".rtf" and then viewed in TNewMemo (TNewMemo does not support formatting).
Reply With Quote