Simple question about text styles
Posted: Thu May 29, 2014 10:08 am
Hello,
I have external class which processes some data and parses it to the TStringList component, as readable lines/strings.
This works fine, but the outputted text is plain, and I want to make it look nicer. My idea is to use RichView and add colours to the text.
Here is the example of what I'm aiming for:
Now, the problem is that class generates this data before it's shown in RichView. Are there some tags that I can add to strings, to make RichView interpret them as styles? For example, I could add another TStringList class, which would contain text that would get imported in RichView, and that would contain tags for styles?
Thanks!
I have external class which processes some data and parses it to the TStringList component, as readable lines/strings.
This works fine, but the outputted text is plain, and I want to make it look nicer. My idea is to use RichView and add colours to the text.
Here is the example of what I'm aiming for:
Now, the problem is that class generates this data before it's shown in RichView. Are there some tags that I can add to strings, to make RichView interpret them as styles? For example, I could add another TStringList class, which would contain text that would get imported in RichView, and that would contain tags for styles?
Thanks!