merlin2049er Well-Known Member Licensed User Longtime User Oct 8, 2014 #1 I've got an edittext box, after an enter_pressed event (and done hit on the keyboard) the cursor still blinks on that edittext box. How do I remove the focus from that box?
I've got an edittext box, after an enter_pressed event (and done hit on the keyboard) the cursor still blinks on that edittext box. How do I remove the focus from that box?
LucaMs Expert Licensed User Longtime User Oct 8, 2014 #2 merlin2049er said: I've got an edittext box, after an enter_pressed event (and done hit on the keyboard) the cursor still blinks on that edittext box. How do I remove the focus from that box? Click to expand... You could add an invisible EditText and set focus on it (edtInvisible.RequestFocus) Upvote 0
merlin2049er said: I've got an edittext box, after an enter_pressed event (and done hit on the keyboard) the cursor still blinks on that edittext box. How do I remove the focus from that box? Click to expand... You could add an invisible EditText and set focus on it (edtInvisible.RequestFocus)
merlin2049er Well-Known Member Licensed User Longtime User Oct 8, 2014 #3 Thanks. I noticed that trick in the forum. Upvote 0
Robert Loiacono Member Licensed User Longtime User Feb 16, 2015 #4 Has anyone tried to invoke blur() somehow? Upvote 0
stevel05 Expert Licensed User Longtime User Feb 16, 2015 #5 Hi Robert, You need to create a new thread for this question, and explain what you mean. Invoke blur() on what? Upvote 0
Hi Robert, You need to create a new thread for this question, and explain what you mean. Invoke blur() on what?
Arf Well-Known Member Licensed User Longtime User Mar 21, 2015 #6 I'm having a similar problem - I created an invisible editText and set the focus to that to lose focus of the box I want to lose focus on, but when I set focus to the invisible box of course the keyboard appears - which I don't want. Can I prevent that somehow? In the designer I have got inputtype set to NONE. Upvote 0
I'm having a similar problem - I created an invisible editText and set the focus to that to lose focus of the box I want to lose focus on, but when I set focus to the invisible box of course the keyboard appears - which I don't want. Can I prevent that somehow? In the designer I have got inputtype set to NONE.
Arf Well-Known Member Licensed User Longtime User Mar 21, 2015 #7 Got it - Phone.HideKeyboard(Activity) Upvote 0