Currently it is not possible. However in many cases you can set the EditText.ForceDone property to true and then handle EditText_EnterPressed event.
This way the user will enter the text and press Done. It will close the keyboard and do the required action.
You cannot hide the keyboard by code. By setting ForceDoneButton to true you are giving the user an option to enter the text and press on the keyboard Done button. This will close the keyboard and do the action.
Attached a small test program.
Button1 copies the text from EditText1.Text to Label1.Text.
EditText2 has the ForceDone parameter set to True.
The EditText2_EnterPressed routine copies the text from EditText2.Text to Label2.Text similar to Button1_Click.
Currently it is not possible. However in many cases you can set the EditText.ForceDone property to true and then handle EditText_EnterPressed event.
This way the user will enter the text and press Done. It will close the keyboard and do the required action.
I'm a VB6 and VBA developer rapidly getting to grips with B4A (and Android 'phones).
Which is the 'Done' key on the soft kb? I have read that 'Back' is often used with Android but this doesn't seem to have the desired effect - it just deletes the previous chartacter, as I would expect.
I have set ForceDone=True for all my text inputs and can trap the event but what should I do with it once it's trrapped so that I can remove the keyboard and display another panel?