B4A Question Save/Load text formatted - ilan    
Apr 23, 2018hi
is it possible to load/save formatted text? like text with specific color, text size, bold, underlined,...
so save it and load it from a text file?
thanx...
link: Hi. This may help anybody looking for saving formatted text in text file: https://www.b4x.com...
link: I think it is missing adding the bitmap to the list.
Something like this? (untested)
'Adds imag...
link: it on a label for instance, it does not show the image. It only shows the formatted text. Something...
B4A Example Simple function to convert Markdown Text to CSBuilder Format - fredo    
Jul 24, 2024   
(11 reactions)This simple function converts Markdown-formatted text so that it can be used as CSBuilder... markdownText As String = $"This is a **bold** Text,
an *italic* Text
and a (http...
Dim boldPattern As String = "\*\*(.*?)\*\*" ' Regex for **Text**
Dim italicPattern As String = "\*(.*?)\*" ' Regex for *Text*
Dim urlPattern As String...
link: **Text**
Dim italicPattern As String = "\*(.*?)\*" ' Regex for *Text*
Dim...
B4R Question B4R NumberFormat string buffer overwrite or out-of-bounds? - emexes    
Aug 13, 2019:0x3ffb1fd0
Rebooting...
etc
If I replace NumberFormat with default Int-to-String casting:
''...
etc...
If I change the length of the NumberFormat return string, by varying the MinimumIntegers...I am sending ASCII text lines via the serial-over-USB ESP32-PC link, and it was working great until I used NumberFormat. I have tried this code on two different ESP32 modules:
Private Sub AppStart... 10000
Serial1.Stream.WriteBytes(B1, 0, B1.Length)
Log( NumberFormat...
B4A Example [B4X] Simple function to highlight searchword in texts in CSBuilder Format - fredo    
Dec 28, 2024   
(11 reactions). (any format you need)
cs.Append(OriginalText.SubString2(startIndex, endIndex))
cs.Pop
lastIndex = endIndex
Loop
cs.Append(OriginalText.SubString(lastIndex))
Return cs... HighlightCsTextWithRegex(OriginalText As String, searchWord As String) As CSBuilder
Dim escapedSearchWord....GetEnd(0)
cs.Append(OriginalText.SubString2(lastIndex, startIndex))
cs.BackgroundColor...This simple function highlights all occurrences of a search term in a given text and returns...
B4A Question Convert String.format("%032x", new BigInteger(1, md.digest())) to B4a - somed3v3loper    
Nov 23, 2014());
String sig = String.format("%032x", new BigInteger(1, md.digest()));
String...)
FormatString(bint,"%032x")
End Sub
Sub FormatString(str As String,strformat As String...
Dim Format As JavaObject
Format.InitializeStatic("java.lang.String")
'Create...&Data(0))
Dim FormatStr As String = strformat
For Each Line() As Object In Data
Log...Hello all ,
I am trying to convert the following Java to B4A but have no luck in converting string...
B4A Question Wrap text when copying and paste does not keep original text formating - hookshy    
Jan 6, 2018 storing the text into database or it is just the way it goes, the pasted text does not keep formating ?
My idea to fix this is:
- test in edit text_changed the new and old values , when diference...
link: Dim content As String
content="This is a single line...
link: I must create routine to insert Chr(10) every 30 caracters or the maximum char number that fit the l...
link: Hmm that's a good question. I believe that carriage return and line feed (CR+LF) in
Linux is j...
B4A Code Snippet String Format - stevel05    
Mar 31, 2014   
(5 reactions)SubName: StringFormat (although it's an example and not a functioning sub)
Description: Format a string for output with spaces and number conversion using the static String function 'format...
link: Solved here... ...
link: 35947...
link: Ok, thank you!...
B4J Question [ABMaterial] inline Text format tags - Cableguy    
Apr 5, 2017Hi ABM gurus
I'm struggling to find in depth info about the inline text format tags used in ABM text...
After a bit of exploring the Demo pages, I figured that {BR} is the equivalent to CRLF (wich has no effect if placed inside an ABM text) and {C#FFFFFFF} is a color setting...
link: Thanks Alain...
I somehow bypassed the fact that (almost) every text related control in ABM...
link: The tags are explained in the ABMLabel page in the demo....
Wish (or bug?) Find / Replace EditTexts format [B4A 5.50] - LucaMs    
Feb 21, 201641769
The text of the two EditTexts ("Find what" and "Replace with") is the same but formatted differently (Tab).
So the new text will be bad formatted....
Bug? [EDIT]changing a Labels text size removes the text formating?! - Cableguy    
Oct 1, 2016 that was the culprit of the removing of the Text Format, But after a small test, I discovered that a simple textsize change does it.
How to replicate:
In the visual designer, add a Label and set a few format...
link: ok, got it...
ps. it should be mentioned in the help tips in the visual designer...
link: style. Changing the text style requires setting a new font and the style is lost....
link: Actually I found that a simple resizing of the text removes the text styling... see post #1...
Page: 1  
2  
3  
4  
5