Post by EduardoWhat I usually do is to prepare all the rtf code in a string variable, and
set it at the end into the .TextRTF property.
But you need to know that if you need to perform some other formatting, it's
not so easy doing it in the rtf code.
When you use the .SelColor, .SelFontName, .SelFontName, .SelBold and all
.Sel* properties, the RTB adds the proper rtf codes for you.
But if you want to do it yourself, you need to learn how to format the rtf
text.
For example:
font bold is "\b some text\b0"
font size is "{\fs24 some text} ' where the number is twice the points of
the font that you want. So fs24 is for font size 12.
Colors are more complicated, because you need to define a color table at the
beginning. The same for font names.
So I suggest to you to mess with the rtf text only if you are going to write
plain text, otherwise it's a bit difficult.