I made a research on the forum but could only find a fileorder lib but it does not make the job. I have 6 edittexts. 2 on the left 4 on the right . Below 2 edittexts in the left there is a button and below 4 edittexts on the right there is a button too.
When i try with the first on the left it always show next button until the end of 6 edittexts but i want to make it display done on the keyboard after second editbox on the left and for the right side after the last one. I tried to activate force done but it didnt help. Can anyone help
ty
Set ForceDone to False for all EditText views and True for the last ones in each column and use this code.
B4X:
Sub edtTest11_EnterPressed
CallSubDelayed2(Me, "SetFocus", edtTest12)
End Sub
Sub edtTest21_EnterPressed
CallSubDelayed2(Me, "SetFocus", edtTest22)
End Sub
Sub edtTest22_EnterPressed
CallSubDelayed2(Me, "SetFocus", edtTest23)
End Sub
Sub edtTest23_EnterPressed
CallSubDelayed2(Me, "SetFocus", edtTest24)
End Sub
Sub SetFocus(edt As EditText)
edt.RequestFocus
End Sub
Thank you very much for your help. When I run your app it works perfect. But i did the same thing in my app divided the panel into two panels. in the left panel i have 2 editboxs in the right panel i have 4 . i copied the code to my app but after the last textbox on the left it doesnot display done( i have edited the last ones as force done true others false) it displays next and when i hit it it jumps to 2nd edittext on the right :/