N nanjidusan Member Licensed User Mar 1, 2019 #1 How to Hiding the soft keyboard also causes EditText to lose focus ? How to do ? Last edited: Mar 1, 2019
Erel B4X founder Staff member Licensed User Longtime User Mar 3, 2019 #2 You can intercept the height changed event with IME library and set the focus to a different control. Upvote 0
You can intercept the height changed event with IME library and set the focus to a different control.
N nanjidusan Member Licensed User Mar 3, 2019 #3 Erel said: You can intercept the height changed event with IME library and set the focus to a different control. Click to expand... Thank you for your advice , it's very helpful ! B4X: Sub IME_HeightChanged(NewHeight As Int, OldHeight As Int) If NewHeight > OldHeight Then dummyFocus.RequestFocus End If End Sub Upvote 0
Erel said: You can intercept the height changed event with IME library and set the focus to a different control. Click to expand... Thank you for your advice , it's very helpful ! B4X: Sub IME_HeightChanged(NewHeight As Int, OldHeight As Int) If NewHeight > OldHeight Then dummyFocus.RequestFocus End If End Sub