I am displaying a dialog that asks for text input, when the dialog closes, I have the below line to hide the keyboard:
It does not hide the keyboard.
Another thread suggested disabling the edittext view, but since it was in the dialog, it no longer exists.
Another thread suggested adding:
That did not work - I even tried "Sleep(1000)" still no good.
What worked was:
Why does it only work with a deprecated function?
B4X:
IME.HideKeyboard
It does not hide the keyboard.
Another thread suggested disabling the edittext view, but since it was in the dialog, it no longer exists.
Another thread suggested adding:
B4X:
Sleep(100)
That did not work - I even tried "Sleep(1000)" still no good.
What worked was:
B4X:
IME.HideKeyboard
DoEvents
Why does it only work with a deprecated function?