S Sergey_New Well-Known Member Licensed User Longtime User Mar 12, 2024 #1 I made an example in which when moving through View EditText using the "Enter" key, the cursor moves to the next EditText and the keyboard is displayed. Maybe it can be made simpler? Attachments test.zip 3.9 KB · Views: 86
I made an example in which when moving through View EditText using the "Enter" key, the cursor moves to the next EditText and the keyboard is displayed. Maybe it can be made simpler?
Solution S S Sergey_New Mar 16, 2024 If anyone is interested, I changed the code so that the keyboard does not hide when moving to the next entry.
If anyone is interested, I changed the code so that the keyboard does not hide when moving to the next entry.
Lucas Siqueira Active Member Licensed User Longtime User Mar 13, 2024 #2 you can replace the code B4X: Private Sub EditText1_EnterPressed IME.HideKeyboard Sleep(10) IME.ShowKeyboard(EditText2) End Sub by code B4X: Private Sub EditText1_EnterPressed EditText2.RequestFocus End Sub Upvote 0
you can replace the code B4X: Private Sub EditText1_EnterPressed IME.HideKeyboard Sleep(10) IME.ShowKeyboard(EditText2) End Sub by code B4X: Private Sub EditText1_EnterPressed EditText2.RequestFocus End Sub
S Sergey_New Well-Known Member Licensed User Longtime User Mar 13, 2024 #3 Lucas Siqueira said: by code Click to expand... Have you checked the operation of this code? When executed, the subsequent element does not move above the keyboard. Upvote 0
Lucas Siqueira said: by code Click to expand... Have you checked the operation of this code? When executed, the subsequent element does not move above the keyboard.
S Sergey_New Well-Known Member Licensed User Longtime User Mar 16, 2024 #4 If anyone is interested, I changed the code so that the keyboard does not hide when moving to the next entry. Attachments test.zip 4.8 KB · Views: 115 Upvote 0 Solution
If anyone is interested, I changed the code so that the keyboard does not hide when moving to the next entry.