M manuelsalazar Member Licensed User Nov 1, 2019 #1 hi: is there any function to position the cursor at the end of the text in EDITTEXT control when you select it ?
hi: is there any function to position the cursor at the end of the text in EDITTEXT control when you select it ?
LucaMs Expert Licensed User Longtime User Nov 1, 2019 #2 manuelsalazar said: hi: is there any function to position the cursor at the end of the text in EDITTEXT control when you select it ? Click to expand... (Try to use the Search on site) https://www.b4x.com/android/forum/threads/put-cursor-at-the-end-of-a-text.12385/ Upvote 0
manuelsalazar said: hi: is there any function to position the cursor at the end of the text in EDITTEXT control when you select it ? Click to expand... (Try to use the Search on site) https://www.b4x.com/android/forum/threads/put-cursor-at-the-end-of-a-text.12385/
Erel B4X founder Staff member Licensed User Longtime User Nov 3, 2019 #3 B4X: Sub EditText1_FocusChanged (HasFocus As Boolean) If HasFocus Then Dim et As EditText = Sender et.SelectAll End If End Sub Upvote 0
B4X: Sub EditText1_FocusChanged (HasFocus As Boolean) If HasFocus Then Dim et As EditText = Sender et.SelectAll End If End Sub