1
How to make for a TEdit
, that is being accessed on Android, do not lose focus because of the virtual keyboard that arises the moment the focus goes to the TEdit
?
1
How to make for a TEdit
, that is being accessed on Android, do not lose focus because of the virtual keyboard that arises the moment the focus goes to the TEdit
?
0
Are you referring to a EditText
? If yes, in the location of your code that makes your EditText
lose focus, you can try to add:
editText.requestFocus();
It should probably work (keep the focus of the element). If it doesn’t work, take a look at these solutions:
This works in Delphi?
I’m not referring to EditText
because in Delphi there is no such component.
Browser other questions tagged android delphi firemonkey
You are not signed in. Login or sign up in order to post.
With "focus" you say that when the keyboard goes up, the Tedit "disappears" from the screen and is hidden behind the keyboard?
– Cleber Griff
No... I said that the moment I access Edit the focus disappears from Edit at the time the keyboard appears.
– Edu Mendonça
Edit1.Setfocus on Onenter would not solve?
– Cleber Griff
not already tested like this and does not at least not appear the blinking cursor indicating that the focus is in Edit
– Edu Mendonça