bskotu555 Member Oct 25, 2024 #1 开发了一个PDA程序,简单的扫码比对,遇到一个棘手的问题,就是用PDA自带的扫码功能在EditText1扫描会自动换行成两行,这个怎么解决的?
aeric Expert Licensed User Longtime User Saturday at 2:23 PM #2 B4X: Private Sub FoundBarcode (msg As String) EditText1.Text = msg.Replace(CRLF, "") toast.Show($"Found [Color=Blue][b][plain]${msg}[/plain][/b][/Color]"$) End Sub
B4X: Private Sub FoundBarcode (msg As String) EditText1.Text = msg.Replace(CRLF, "") toast.Show($"Found [Color=Blue][b][plain]${msg}[/plain][/b][/Color]"$) End Sub