On 23/8/12 8:17, Ajeandro Gonzalo wrote:

But how can this control be used like Delphi's RichEdit control to just
add color and bold (for example) to simple text?

AFAIK the control itself has no colouring or emboldening capabilities beyond its ability to render valid html text correctly. You have to adapt your text data, i. e. save it as an .html file and insert the HTML tags yourself. So the text 'This has a single *bold* word' would need to be saved as (say) test.html containing the data:

<html>
<body>
This has a single <b>bold</b> word
</body>
</html>

Howard





--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to