Hi Everyone,
I'm reading a long text from .TXT file, and i would like to format some parts as bold.
For example, i would like to put all Title Paragraphs as bold.
There is some tag i can put inside this specific parts and than label will read and than format text ? Something like HTML tags for example ...
I´m planing to use label to show the text ... there is some other component better than label ?
Ex:
<strong>Title</strong>
text text text
text text text
text text text
I´m using TextReader to read text file ...
THanks so much !
I'm reading a long text from .TXT file, and i would like to format some parts as bold.
For example, i would like to put all Title Paragraphs as bold.
There is some tag i can put inside this specific parts and than label will read and than format text ? Something like HTML tags for example ...
I´m planing to use label to show the text ... there is some other component better than label ?
Ex:
<strong>Title</strong>
text text text
text text text
text text text
I´m using TextReader to read text file ...
B4X:
Dim tr As TextReader
tr.Initialize2(File.OpenInput(File.DirAssets, "file.txt"), "ISO-8859-1")
Dim lines As String = tr.ReadAll
tr.Close
lbl.Text = lines
THanks so much !