red30 Well-Known Member Licensed User Longtime User Nov 26, 2020 #1 How do I move the cursor to the end of the entered text in the B4XFloatTextField? If in B4XFloatTextField I replace some character the cursor is wrapped to the beginning of the input line. How do I move it to the end of the line?
How do I move the cursor to the end of the entered text in the B4XFloatTextField? If in B4XFloatTextField I replace some character the cursor is wrapped to the beginning of the input line. How do I move it to the end of the line?
M Mahares Expert Licensed User Longtime User Nov 26, 2020 #2 red30 said: How do I move it to the end of the line? Click to expand... Did you try this: Code: Copy Sub B4XFloatTextField1_TextChanged (Old As String, New As String) Dim et As EditText = B4XFloatTextField1.TextField et.SelectionStart=et.Text.Length End Sub Upvote 0
red30 said: How do I move it to the end of the line? Click to expand... Did you try this: Code: Copy Sub B4XFloatTextField1_TextChanged (Old As String, New As String) Dim et As EditText = B4XFloatTextField1.TextField et.SelectionStart=et.Text.Length End Sub