Hi folks, I’m wondering if I can insert HTML tags into a WebTextArea. Suppose I want one or more words to be in Bold style, is it possible to do something like
WebTextArea1.Text = "When I find myself <b>in time</b> of trouble"
Thank you.
Nedi
Hi folks, I’m wondering if I can insert HTML tags into a WebTextArea. Suppose I want one or more words to be in Bold style, is it possible to do something like
WebTextArea1.Text = "When I find myself <b>in time</b> of trouble"
Thank you.
Nedi
Not as simple as it seems.
See https://stackoverflow.com/questions/4705848/rendering-html-inside-textarea
However, if you don’t need to actually edit, you can use a multiline WebLabel and the tags.
See http://documentation.xojo.com/index.php/WebTextControl.Text
Thank you, Michel!