I have code that has three edittext views.
With soft keyboard after entering text in EditText3, when Finished is pressed the code executes as expected;
With a Bluetooth connected external hard keyboard after entering text in EditText3, when Return is pressed the following occurs;
Sub EditText3_EnterPressed
EditText1.Text = "" ' clear input
EditText2.Text = "" ' clear input
EditText3.Text = "" ' clear input
EditText1.RequestFocus ' shift focus back to first EditText view
End Sub
With soft keyboard after entering text in EditText3, when Finished is pressed the code executes as expected;
- all text is cleared
- focus shifts to EditText1.
With a Bluetooth connected external hard keyboard after entering text in EditText3, when Return is pressed the following occurs;
- all text is cleared
- focus shifts to EditText1 briefly then
- focus shifts to EditTest2
Sub EditText3_EnterPressed
EditText1.Text = "" ' clear input
EditText2.Text = "" ' clear input
EditText3.Text = "" ' clear input
EditText1.RequestFocus ' shift focus back to first EditText view
End Sub