U
unba1300
Guest
Hello,
I am using code like the following to add to a list what text is in each of ten edittexts when the activity gets paused:
But could someone please tell me how to determine in this loop which edittext the user is using at the time (so that I can set the cursor back there during Resume). Thanks.
I am using code like the following to add to a list what text is in each of ten edittexts when the activity gets paused:
B4X:
Dim et As EditText
For i = 9 To 0 Step -1
et = sv1.Panel.GetView(i)
lst1.Add(et.text)
Next
But could someone please tell me how to determine in this loop which edittext the user is using at the time (so that I can set the cursor back there during Resume). Thanks.