Editbox with Carriage Return

Scantech

Well-Known Member
Licensed User
Longtime User
I realize the Editbox in B4A does not treat Carriage Return as newline.
Vb.net will.

Sub AStreams_NewData (Buffer() As Byte)
Dim msg As String
buffer = s.GetBytes("UTF8")

I populate the Editbox with Buffer. Is there a way around this to detect Carriage Return (Byte = 13) then add CRLF to the Editbox.

In VB.net textbox

ELM327 v1.4b
>

In B4A editbox

ELM327 v1.4b>
 
Last edited:
Top