When a member does not exist (property or method) you have to use the original view.
B4X:
#If B4A
Dim Disp1 As EditText = Display1
#Else If B4J
Dim Disp1 As TextField = Display1
#Else If B4I
' I don't know, not having B4I; it should be the same of B4J
#End If
Disp1.SelectionStart = Disp1.Text.Length
When a member does not exist (property or method) you have to use the original view.
B4X:
#If B4A
Dim Disp1 As EditText = Display1
#Else If B4J
Dim Disp1 As TextField = Display1
#Else If B4I
' I don't know, not having B4I; it shoud be the same of B4J
#End If
Disp1.SelectionStart = Disp1.Text.Length