I would like to have a different style for each paragraph. I believe StyledText is not supported in a web app. Is there any way to do it otherwise?
WebStyles affect the whole control, not the contents. You can insert the Text value as HTML using the command.
Thanks David. A quick search found an example which i copied direclty to test on one of my WebTextAreas…
ta_BrokenBracktes.text = OrthoProHome.cnt_Patient1.InfosArray(1)+EndOfLine+"<raw><strong><em>"+OrthoProHome.cnt_Patient1.InfosArraySettings(1)+"</em></strong></raw>"
This does not work. Do you see anything wrong here. I get…
Another thread talks about line breaks being a problem so I tried replacing EndOfLine with
in the raw tag, but I then got…
Raw doesnt work out n TextAreas. The underlying control presented by the browser doesnt support it.
Perhaps it would be better if you told us more about what your needs are. For instance, do you need this text to be editable? If not, you might want to look at the docs for the WebSDK. The example project shows how to make an HTMLArea control where you can send raw html to the browser.