B4A Library RichString library. - agraham    
Jan 5, 2017   
(9 reactions)   
tags: rich string formatThis library contains RichString and RichStringBuilder objects. These objects are analogous to the normal String and StringBuilder. However RichStrings can contain formatting information...
link: As I said, with the modifications I made, RichString now does everything I need so...
link: to use CSBuilder if RichString doesn't work for you....
link: I suggest switching to CharSequenceBuilder as the RichString Library not getting any updates since...
B4A Code Snippet Combining a Fontawesome Icon And Text on a View Using Richstring - Mahares    
Feb 9, 2017   
(2 reactions) write the following snippet combining a FontAwesome Icon, text and Richstring to put text on a label... FontAwesomeIconsWithRichString(HexCode As String, Text As String, IconRelativeSize As Float) As RichString
Dim...
link: Read it too fast.. :confused: (thought it was Material Icon combined with a text font)
Sorry for was...
link: I'm not sure why this code is needed
Actually, this snippet is part of a larger project where I...
link: picker tool
You can of course use RichString to further modify the text appearance....
B4A Question xCustomListView with RichString - Rusty    
Oct 22, 2019Can one create a view within an xCustomListView that contains richstrings?
If so, How might this be done?
Thanks,
Rusty...
link: Yes. No need to do anything special.
Dim cs As CSBuilder
cs.Initialize.Color(Colors.Red).Append("aaaa").PopAll
clv.AddTextItem(cs, "")
...
B4A Library ListView supporting RichStrings - specci48    
Apr 7, 2012   
(3 reactions) as text or RichStrings for more color and formats.
specci48...
link: or RichStrings for more color and formats.
specci48
I have had extreme problems with my program...
link: Hallo,
is it possible to integrate RichStrings for more color and formats in a other ListView like...
Bug? [Lib RichString] - McAfee Security. - T201016 (first post)    
Apr 23, 2018This is not a bug. There is no virus in RichString library. The source code is available in the forum.
Yes. I checked the source for the virus, I noticed it only when the alert is displayed only when the Internet is active (enabled). I have yet to get to the root cause in which McAfee perceives...
link: This is not a bug. There is no virus in RichString library. The source code is available in...
link: with the situation when testing Agraham's librarian (RichString) that the antivirus program reports...
B4A Question ListViewWithScrollEvents + Richstring? - Erel (first post)    
Jan 16, 2017   
(1 reaction)How many items are you showing? If less than a few thousands then it will be easier to use CustomListView....
link: Using ListViewWithScrollEvents:
Is it possible to add RichStrings in addsingleline (like...
B4A Question spDialog - button ignoring richstring formats - richthom    
Oct 3, 2015 the richstring "This is another richstring" is put in as button text and is ignored:
'the msgbox shows the button text as "THIS IS ANOTHER RICHSTRING" in colour blue and in caps... As RichString
rs.Initialize("{R}{T}{Blue}This{Blue}{T}{R} {U}is{U} another {Red}{BI}Rich{Red}String{BI...}")
rs.Style2(rs.STYLE_BOLD_ITALIC, "{BI}")
Dim rsOK As RichString
rsOK.Initialize...
B4A Question Problem: Rare behavior of RichString, cursor loose when use backcolor. - ELCHARO (first post)    
May 28, 2015   
(1 reaction)Correct answer, thanks DonManfred.
The problem is resolve.
I need to check how i write the declarations ,because i believe B4X reso...
link: ANY SUGESTIONS, WHY?
maybe because there is a method with the same name.richstr.backcolor(backcolor...
link: ) As RichString
Dim backcolor,frontcolor,numcolor,colorlevel As Int 'Take current color...
B4A Question Get text height of RichString - AscySoft (first post)    
Mar 13, 2015That simple? In my case i needed to change the
public int MeasureMultilineTextHeight(TextView Labe...
link: See the example here about the static code module: https://www.b4x.com/android/forum/threads/inline-...
link: Try this inline Java code:
#if JAVA
import android.text.StaticLayout;
import android.text.Layout.A...
B4A Question Troubles with MeasureMultilineTextHeight, richstring and customListview - Sub7 (first post)    
Sep 18, 2014Thanks!!...
link: Wrong:
label1.Height = su.MeasureMultilineTextHeight(label1, label1.Text.Length)
Correct:
label1.Height = su.MeasureMultilineTextHe...
link: )
'Richstring
messageContent.Initialize("{Grey}" &subject&...
Page: 1  
2