I'm sorry I don't understand your advise. (even using google translate, I still not be understand)However, it's my selffish for request. This thread is closed.
Sub Class_Globals
Private Root As B4XView
Private toast As BCToast
Private Result As MyResult
Type MyResult (RealName As String)
End Sub
Public Sub Initialize
' B4XPages.GetManager.LogEvents = True
End Sub
Private Sub B4XPage_Created (Root1 As B4XView)
Root = Root1
Root.LoadLayout("MainPage")
toast.Initialize(Root)
Result.Initialize
Result.RealName = "ทดสอบ1.htm"
End Sub
Private Sub Button1_Click
toast.Show($"ไฟล์เก่าชื่อ'${Result.RealName}'ถูกเรียกใช้งาน"$)
End Sub
After running your app and saving and loading the html text then this is the result:
The font size is different and the BCToast performs a word-wrap sooner if the text gets too long.
I tried with my device language setting to Thai but it gave me the same result.
So you can use the toast that you like the best.