Most of the desktop controls support both (default) left to right fonts and right to left fonts like Hebrew and Arabic.
You can use the Door library with the following code to change this property:
You can use the Door library with the following code to change this property:
B4X:
'obj is an Object.
Sub App_Start
Form1.Show
SetRTL("textbox1")
End Sub
Sub SetRTL(crl)
obj.New1(false)
obj.FromControl(crl)
obj.SetProperty("RightToLeft","Yes")
End Sub
Sub SetLTR(crl)
obj.New1(false)
obj.FromControl(crl)
obj.SetProperty("RightToLeft","No")
End Sub